Created
July 31, 2015 14:30
-
-
Save marcbacon/99d4896ca87b50cad6bf to your computer and use it in GitHub Desktop.
Hide the admin bar on the front end of a WordPress website.
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
| // Place in functions.php or in a plugin | |
| 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