Skip to content

Instantly share code, notes, and snippets.

@samuelcotterall
Created January 23, 2017 14:57
Show Gist options
  • Save samuelcotterall/27429df1a6d69e689795da03f30551b0 to your computer and use it in GitHub Desktop.
Save samuelcotterall/27429df1a6d69e689795da03f30551b0 to your computer and use it in GitHub Desktop.
Wordpress hide admin bar for logged in users
add_filter('show_admin_bar', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment