Reply To: ADD custom HTML in keymaster reply
ok, sorry for delay – putting in ‘bumps’ tends to not get you help as many of us work on ‘topics with no replies’ and you have replies 🙂
Put the following in your functions file
function rew_role_show () {
$displayed_user = bbp_get_reply_author_id() ;
$role = bbp_get_user_role( $displayed_user);
if ( bbp_is_user_keymaster($displayed_user) ||$role == 'bbp_moderator') {
echo '<li>' ;
echo 'I im in supporting group';
echo '</li>' ;
}
}
add_action ('bbp_theme_after_reply_author_details', 'rew_role_show') ;