Disable orange Front-end Layout Editor button on Toolbar

There are no options available to disable the button, it must be done with a snippet of code that can be added to your theme’s functions.php file or using a plugin such as Code Snippets.

/**
 * Disable orange Toolset admin bar button
 */
add_action( 'admin_bar_menu', 'tssupp_remove_toolset_button', 999 );
function tssupp_remove_toolset_button( $wp_admin_bar ) {
	$wp_admin_bar->remove_node( 'ddl-front-end-editor' );
}

Let us know if this snippet is not working for you:

This snippet doesn’t work
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments