Remove wordpress menu and logo from admin panel.

Using this Simple Hook We can easily remove wordpress logo and related sub menus to wordpress logo from admin panel bar of WordPress,You Just need to do is just copy this hook and paste below code on the function.php file of your theme.


add_action('admin_bar_menu', 'remove_wordpress_logo', 999);
function remove_wordpress_logo( $admin_bar ) {



Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top