Support » Plugin: Simple User Rank Comments » display admin if is admin

  • I didnt know what to do.. post or not.. I’ve seen other threads not being responded and that you are inactive for about a year.. but trying my luck over here.. So

    if (current_user_can( 'manage_options' )) {
    echo 'admin'
    elseif (current_user_can( 'moderate_comments' )) {
    echo 'moderator'
    endif return $rank

    how would I implement this or something close to it in your plugin… to display if admin – admin ( and forget about the rank ) .. and moderator ..

  • The topic ‘display admin if is admin’ is closed to new replies.