Remove Customize Link From WP Tool Bar

This function will remove the “Customize” link from the WordPress Tool Bar, a.k.a the admin bar.

/**
 * Remove Customize link from WP tool bar
 */
function isa_remove_customize_link() {
	global $wp_admin_bar;
	$wp_admin_bar->remove_menu('customize');
}
add_action( 'wp_before_admin_bar_render', 'isa_remove_customize_link' );

See more: ,

By

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]