Remove VISUAL COMPOSER Activation Warning

You might see this warning on top of WordPress admin area:
Hola! Please activate your copy of Visual Composer to receive automatic updates.”

Here’s a Quick Way of Turning it off. Put this in your themes functions.php file:

setcookie('vchideactivationmsg', '1', strtotime('+3 years'), '/');
setcookie('vchideactivationmsg_vc11', (defined('WPB_VC_VERSION') ? WPB_VC_VERSION : '1'), strtotime('+3 years'), '/');

Or, you can save the snippet below as stop-vc-nag.php, put it in your plugins folder and activate the “Stop Visual Composer Activation Nag” plugin!

/*
Plugin Name: Stop Visual Composer Activation Nag
Plugin URI:
Description:
Version: 1.0.0
Author: HPT
Author URI: https://www.hpthemes.com
License: GPL2
*/
 
add_action('admin_init', function() {
    if(is_admin()) {
        setcookie('vchideactivationmsg', '1', strtotime('+3 years'), '/');
        setcookie('vchideactivationmsg_vc11', (defined('WPB_VC_VERSION') ? WPB_VC_VERSION : '1'), strtotime('+3 years'), '/');
    }
});

Disable VISUAL COMPOSER ULTIMATE ADDONS activation warning

To disable Visual Composer Ultimate Addons nag we have to add the lines below to wp-config.php file:

define('ULTIMATE_NO_EDIT_PAGE_NOTICE', true);
define('ULTIMATE_NO_PLUGIN_PAGE_NOTICE', true);

Leave a Reply