Disable admin bar on front-end


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!-- DIABLE ADMIN BAR ON FRONT END -->
  2. add_filter('show_admin_bar', '__return_false');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.