Hi @psychopomp777,
Can you please provide the code for the custom tab so we can review? About tab contains the Profile View which is connected to Profile form.
Thanks.
Hello –
Here is the code which was taken from the Ultimate Member website in the documentation section:
/* Extend main profile tabs */
add_filter('um_profile_tabs', 'add_custom_profile_tab', 1000 );
function add_custom_profile_tab( $tabs ) {
$tabs['favorites'] = array(
'name' => 'My Favorites',
'icon' => 'um-faicon-heart',
);
return $tabs;
}
/* Then we just have to add content to that tab using this action */
add_action('um_profile_content_favorites_default', 'um_profile_content_favorites_default');
function um_profile_content_favorites_default( $args ) {
echo 'All of your favorite posts should show here!';
}
Thanks for looking into this, much appreciated.
Also, wanted to circle back about the “About” tab. Even though I have added some text by clicking the “add” link in the screenshot, this constantly shows up by default in the about tab?
https://screencast.com/t/wpaTv9xK
What is actually supposed to be here? Am I missing something?
Thanks
Disregard the last comment about “what goes into the About tab”, I didn’t realize that you need to build the “form” for it that displays information there.
Issue still exists where the About tab needs to be present in order for any custom tabs to work though.
Thanks