Skip to content

Instantly share code, notes, and snippets.

@MrJoshFisher
Last active April 3, 2024 11:02
Show Gist options
  • Save MrJoshFisher/f8ca0b2781fae5f3b78bebcfe0c098c3 to your computer and use it in GitHub Desktop.
Save MrJoshFisher/f8ca0b2781fae5f3b78bebcfe0c098c3 to your computer and use it in GitHub Desktop.
[Remove WordPress Logo From Admin]
/**
* 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