Premium WordPress Themes, Templates & Plugins › Support › WordPress Plugin Support › WPBakery Page Builder › How to remove “Edit with WPBakery Page Builder” from WordPress Admin Bar › Reply To: How to remove “Edit with WPBakery Page Builder” from WordPress Admin Bar
December 19, 2018 at 12:50 pm #9623
ThemeofWP
Keymaster
You can remove “Edit with WPBakery Page Builder” option from your WordPress admin bar by adding following code to your WordPress theme’s functions.php file.
<?php
function vc_remove_wp_admin_bar_button() {
remove_action( 'admin_bar_menu', array( vc_frontend_editor(), 'adminBarEditLink' ), 1000 );
}
add_action( 'vc_after_init', 'vc_remove_wp_admin_bar_button' );