Created
March 31, 2016 21:37
-
-
Save jimmy89Li/f26c8fa9008b93f4fe0d423214e64157 to your computer and use it in GitHub Desktop.
Show Admin Bar Fix In WordPress
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
if(is_user_logged_in()) { | |
add_filter('show_admin_bar', '__return_true', 1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment