Last active
January 2, 2016 00:49
-
-
Save jmsmrgn/8225699 to your computer and use it in GitHub Desktop.
WordPress - Hide admin bar when viewing pages while logged in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hide admin bar when viewing pages while logged in | |
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