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
Hi and thank you for wonderful support system here! | |
I am running Ultimate Member WP plugin and am trying to create a custom tab called Faves for my user profile pages where only certain user roles I determine can view | |
it: | |
<?php | |
add_filter('um_profile_tabs', 'pages_tab', 1000 ); | |
function pages_tab( $tabs ) { | |
$user_id = um_get_requested_user(); |