Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,900
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
Untested but your solution will be something like this:
function verifed_profile_check( ) {
$user = get_userdata( bp_displayed_user_id() );
if ( in_array( 'certified_subscribers', (array) $user->roles ) ) {
echo '<span class="pmpro_label"> CERTIFIED PROFILE </span>';
}
}