Posted By

shufflepath on 03/07/12


Tagged

php wordpress


Versions (?)

Show admin bar only for admins


 / Published in: PHP
 

  1. if (!current_user_can('manage_options')) {
  2. add_filter('show_admin_bar', '__return_false');
  3. }

Report this snippet  

You need to login to post a comment.