Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2134
    [email protected]
    Participant

    In the admin menu I have Appearance > Customize blocked. which works… however if the user is logged in a viewing the site they can click the customize option n the top editing bar and still access the page. Any thoughts?

    #2135
    [email protected]
    Participant

    Never mind. I added this code to my child theme which removed it from the admin bar.

    add_action( ‘admin_bar_menu’, ‘remove_customize’, 999 );

    function remove_customize( $wp_admin_bar ) {
    $wp_admin_bar->remove_node( ‘customize’ );
    }

    #2136
    Vladimir
    Keymaster

    Thanks for the information.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.