Home / Remove the WordPress Logo From the Admin Bar
Duplicate Snippet

Embed Snippet on Your Site

Remove the WordPress Logo From the Admin Bar

Hide the WordPress logo in the admin bar for all users.

1.5k
Code Preview
php
<?php
add_action( 'wp_before_admin_bar_render', function () {
	global $wp_admin_bar;
	$wp_admin_bar->remove_menu( 'wp-logo' );
}, 0 );

Comments

Add a Comment