Posted By

davebowker on 01/12/10


Tagged

wordpress user roles


Versions (?)

WordPress show to authors and above


 / Published in: PHP
 

  1. <?php get_currentuserinfo() ;
  2. global $user_level;
  3. if ($user_level > 1) {
  4. echo "AUTHORS AND ABOVE SEE THIS";
  5. } else {
  6. echo "NORMALS SEE THIS";
  7. }
  8. ?>

Report this snippet  

You need to login to post a comment.