Reply To: Display specific role on profile user
Yes excuse me. I would like to dislpay only one specific role on profile page, to certify this user is certified by the moderator.
here is the code:
add_action( 'bp_before_member_header_meta', 'verifed_profile_check' );
function verifed_profile_check( ) {
if ( $role = 'certified_subscribers' )
echo '<span class="pmpro_label"> CERTIFIED PROFILE </span>';
}
This code display ‘CERTIFIED PROFILE’ to all profiles but should only display it for users role ‘certified_subscribers’