thorne79
Forum Replies Created
-
Wew…That’s a very and quick and precise response…:)
One last thing, how do I remove the ‘About’ tab, if ever I wanted. Thanks…:)
I’m trying to add an event tab on the profile and following the tutorial in the below link…
https://wpusermanager.com/forums/topic/events-list/#post-16117
But it seems that ‘wpum_get_user_profile_tabs’ does not work anymore.
By adding the code ‘name’ => ‘Events’, to the script and changing
‘wpum_get_user_profile_tabs’ into ‘wpum_get_registered_profile_tabs’
I was able to show the Tab Title. But when I click the Events Tab, the link works but the contents does not show.
The below is the code that I used and copied from the tutorial but it does not work.
function wpum_events_tab_content( $user_data, $tabs, $current_tab_slug ) {
echo “test hey! <br/>”;
echo $user_data->ID;}
add_action( ‘wpum_profile_tab_content_events’, ‘wpum_events_tab_content’, 13, 3 );It seems that ‘wpum_profile_tab_content_events’ does not work as well?
Any advise? thanks.
Forum: Plugins
In reply to: [Custom Field Suite] adding a theme options sidebar section in dashbaordHow do I call out a field group and put in a widget? html or text widget? Can you please help me? Thanks…