Created
May 18, 2023 17:40
-
-
Save broskees/bccc0f2eaa37328cba505d05cce7ec10 to your computer and use it in GitHub Desktop.
Remove the WordPress logo from the 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 | |
add_action('admin_bar_menu', function ($wp_admin_bar) { | |
$wp_admin_bar->remove_node('wp-logo'); | |
}, 999); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment