Last active
December 22, 2015 03:39
-
-
Save brandonhimpfen/6412103 to your computer and use it in GitHub Desktop.
WordPress: "Disable Admin Bar When Logged In" - Add the following to your theme’s functions.php file to remove the admin menu bar from your website when logged into WordPress.
This file contains 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
// Remove admin bar | |
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