Created
January 14, 2021 08:51
-
-
Save abelsaad/ce8585c5807deb656574045b3cdcd340 to your computer and use it in GitHub Desktop.
Remove the WP Logo from the Toolbar
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 | |
function remove_wp_logo( $wp_admin_bar ) { | |
$wp_admin_bar->remove_node( 'wp-logo' ); | |
} | |
add_action( 'admin_bar_menu', 'remove_wp_logo', 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment