Created
May 26, 2015 08:49
-
-
Save moughamir/4bd73676e4a0e1f6e7cd to your computer and use it in GitHub Desktop.
Remove wp logo from 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 | |
function annointed_admin_bar_remove() { | |
global $wp_admin_bar; | |
/* Remove their stuff */ | |
$wp_admin_bar->remove_menu('wp-logo'); | |
} | |
add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment