Dynamically Display HTML depending on User
WordPress Version 4.3.1 – BuddyPress Version 2.2.4
I’m trying to find a function I can hook into to.
I have two types of users on my BuddyPress site, employees and employers. These are defined in the user area of WordPress.
I have made a custom profile page in my child theme labeled buddypress.php.
Everything is working fine, but I want to hide the make a payment button if the user’s profile is an employer profile.
I can only find code for checking the current logged in user status.
Any help is appreciated!
- The topic ‘Dynamically Display HTML depending on User’ is closed to new replies.