Created
March 16, 2020 21:39
-
-
Save someguy9/01d981b27ae7b002e310425caabffb9d to your computer and use it in GitHub Desktop.
Disable WordPress 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
<?php | |
//Disable WordPress admin bar for all logged in users | |
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