We have a lot of clients that are still using WP Bakery builder with theirs WordPress themes and usually, this plugin comes with the theme. Often, it takes weeks if not months to get the last version of WP Bakery with the update of the theme. It is annoying for us, when we do the maintenance of the WordPress site, to see those nagging messages on the main dashboard:
There is a simple solution! You can add this code to your function.php file in your child theme:
/** Hide WP Bakery notification **/
add_action( 'admin_head', 'wpexpert_admin_css' );
function wpexpert_admin_css() {
echo '<style> #vc_license-activation-notice {display:none;} </style>';
}
If you don’t have a child theme, you can use a plugin like Code Snippets:
Code Snippets is an easy, clean and simple way to run code snippets on your site. It removes the need to add custom snippets to your theme’s
functions.php
file.
Remember to check that you have a full backup before changing your child theme function file. If you don’t know how to do it or you need help, feel free to contact us. Always happy to help!
That’s it! No more admin notification everywhere on your dashboard.
Enjoy! Thanks, Fred.