With the WordPress 4.3 release, the WordPress.org development team made some visual changes to this great CMS. One of them is the addition of a Customize option in the top admin bar, right next to your site’s name.
Customize link added in the toolbar to swiftly make changes to your site.
It’s great if you frequently make changes with the use of the customize option. However, for me personally, I rather see it removed.
So I have hidden this Customize option within the admin bar in WordPress by editing my theme’s functions.php file. I added this piece of code to it:
function remove_customize() { global $wp_admin_bar; $wp_admin_bar->remove_menu('customize'); } add_action( 'wp_before_admin_bar_render', 'remove_customize' );

Top: default WordPress admin bar Bottom: Customize menu item removed
Many thanks – Just what I needed! But there is a > entities in the code :)
Exactly what I needed. Thank you for being so concise.
doesn’t work in new wordpress. 2016 June.
Thank you. Works great in 4.9.8
I think the person who said it doesn’t work may have not noticed the ‘greater than’ code in there which needs to be replaced with the ‘>’
Thanks again
:o)
Any idea of how to also remove the “Customize” from the main admin menu?
Appearance > Customize
I’ve tried this but it is not working…
function remove_from_admin_menu() {
remove_menu_page( ‘customize.php’ );
}
add_action( ‘admin_menu’, ‘remove_from_admin_menu’ );