Created
January 3, 2014 23:39
-
-
Save lanche86/8248922 to your computer and use it in GitHub Desktop.
Force the WordPress Admin Bar to display for all visitors. Even Logged Out Users can use the Admin Bar.
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
/* | |
* Force the WordPress Admin Bar to display for all visitors | |
*/ | |
add_filter( 'show_admin_bar', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment