Title: Adding Conditional PHP to Profile Tabs
Last modified: February 24, 2019

---

# Adding Conditional PHP to Profile Tabs

 *  Resolved [golfinred](https://wordpress.org/support/users/golfinred/)
 * (@golfinred)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/adding-conditional-php-to-profile-tabs/)
 * I have the plugin Ultimate member profile tabs. I am using this to create a menu
   for my profile page.
 * I need the ability to add custom php conditions to each tab as the visibility
   control goes beyond the user role features the plugin has.
 * I am running restrict content pro and I need to hide one of these profile tabs
   to rcp_is_active()
 * I have downloaded a plugin called “menu-items-visibility-control” which allows
   me to add this condition to menu items but I need way to resolve this profile
   tabs.
 * Any suggestions at all?

The topic ‘Adding Conditional PHP to Profile Tabs’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [profile tabs](https://wordpress.org/support/topic-tag/profile-tabs/)

 * 0 replies
 * 1 participant
 * Last reply from: [golfinred](https://wordpress.org/support/users/golfinred/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/adding-conditional-php-to-profile-tabs/)
 * Status: resolved