Last active
April 3, 2024 11:02
-
-
Save MrJoshFisher/f8ca0b2781fae5f3b78bebcfe0c098c3 to your computer and use it in GitHub Desktop.
[Remove WordPress Logo From Admin]
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 Wordpress Logo From Admin | |
*/ | |
add_action( 'wp_before_admin_bar_render', function(){ | |
global $wp_admin_bar; | |
$wp_admin_bar->remove_menu( 'wp-logo' ); | |
}, 0 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment