Created
December 8, 2015 14:26
-
-
Save champsupertramp/20bda2c0575eb9579bdc to your computer and use it in GitHub Desktop.
Ultimate Member - Add custom tab & section
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add profile content for 'Pages' tab's section | |
* @param Array $args | |
* @hook Action 'um_profile_content_pages' | |
*/ | |
function um_custom_add_profile_content_pages( $args ){ | |
echo "Hello World"; | |
} | |
add_action('um_profile_content_pages','um_custom_add_profile_content_pages',10,1); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello @champsupertramp ,
would you help me to display all the custom posts in a custom profile tab? I am trying to find but I fail...
Thanks in advance