Remove wordpress menu and logo from admin panel.

Web Development

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.

Before:


add_action('admin_bar_menu', 'remove_wordpress_logo', 999);
function remove_wordpress_logo( $admin_bar ) {
$admin_bar->remove_node('wp-logo');
}

After:


Enjoy

Shiv kumawat

Executive Director & CEO

"Shiv kumawat is the Executive Director and CEO of Eoxys It Solution LLP and the strategic mind behind the company"s growth. His expertise in operational efficiency and team leadership empowers his colleagues to excel and innovate.”

,

Leave a Reply

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