Change WordPress user roles and capabilities › Forums › Bug Reports › customize.php block › Reply To: customize.php block
15/03/2016 at 17:43
#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’ );
}