Last active
January 30, 2024 14:24
-
-
Save AnadarProSvcs/5a94fbaaa55a0d94cdf30e08e78b5a5c to your computer and use it in GitHub Desktop.
Disable Admin Bar in #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
/* Disable WordPress Admin Bar for all 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