How To Remove The Visual Composer Tab From WordPress Admin Menu

Visual Composer is a wildly popular WordPress plugin that allows anyone to design their website both from the front end and back end of their website. Many developers are not a fan of the plugin, but I find it incredibly helpful. At times, it is annoying due to needing to remove the generator tag.

To Remove the Visual Composer Tab

If you have ever gotten a theme bundled with Visual Composer, the giant logo and text in the admin panel are normally placed below the settings section. For the majority of users, Visual Composer’s settings are not useful and pointless. Therefore, to remove the tab from the WordPress Admin Panel Menu add the following piece of code to your functions.php file.

function visual_composer_admin_menu_removal() {
remove_menu_page('vc-general');
}
add_action( 'admin_init', 'visual_composer_admin_menu_removal' );

This will keep the code on pages so you can still edit them. It will also keep the floating toolbar at the top of your admin panel.

All this code does is declutter your WordPress admin panel. This code can also be adapted to remove tons of plugin admin menu items too.

If you have any questions or aren’t sure where to place the code, we would be happy to help! Just contact us!

scott hartley

About the author

Scott is a web performance geek, lover of all things coffee, and avid video game player. His WordPress work delves into web performance, web security, and SEO.

Leave a Comment