thanks John
they don't help for custom stuff
kind regards
Roberto Sousa
Type: Posts; User: Roberto Sousa; Keyword(s):
thanks John
they don't help for custom stuff
kind regards
Roberto Sousa
do you think we can use ?
unset( $tabs['custom_profile_tab3'] );
how can i add this to the code to see if it works?
i saw this comment on the above link and it looks similar to the code i...
with this code
else {
function add_custom_profile_tab3( $downloadtab ) {
return null;
}
im using ultimate member plugin for wordpress and i have created 2 user roles client and doctor
they share the same tabs and with the code that i have done i manage to show different name on the...
This is the complete code if it helps thanks John
<?php
/***
*** @Main tabs
***/
add_filter('um_profile_tabs', 'um_profile_tabs', 1 );
function um_profile_tabs( $tabs ) {
yes it return an error
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'add_custom_profile_tab3' not found or invalid function name in...
Hey guys
Need help on a php code i want to hide the tab created for the rest of the users and show only to user role doctor.
i have the following code:
// Download Tab...