Hide “Customize” menu option in WordPress

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:

Customize option

Top: default WordPress admin bar Bottom: Customize menu item removed

 

Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.

 

5 thoughts on “Hide “Customize” menu option in WordPress

  1. 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)

  2. 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’ );

Leave a Reply to Sam Cancel reply

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