skip to Main Content

Remove “Edit with WPBakery Page Builder” from the WordPress Admin Toolbar

This code will remove the Edit with Visual Composer link from the WordPress admin bar when logged in to make more room for other links. It's a very long text so it can take up a lot of room in the admin bar and you may want to remove it if there are a lot of of other links being added by other plugins or your theme.

add_action( 'vc_after_init', function() {
    remove_action( 'admin_bar_menu', [ vc_frontend_editor(), 'adminBarEditLink' ], 1000 );
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top