How To Remove Visual Composer Active Your Copy Nag

10
How To Remove Visual Composer Active Your Copy Nag

Tired of the message “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 wp-content/plugins folder and activate the “Stop Visual Composer Activation Nag” plugin!

<?php
/*
Plugin Name: Stop Visual Composer Activation Nag
Plugin URI:
Description:
Version: 2016.08.23
Author: Babak
Author URI: https://null24.net
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 nag
To disable this nag you have to add the lines below to your wp-config.php file:

define(‘ULTIMATE_NO_EDIT_PAGE_NOTICE’, true);
define(‘ULTIMATE_NO_PLUGIN_PAGE_NOTICE’, true);

If you enjoyed, So like it 😀

  • +23107
  • -10
  • 23117 ratings
23117 ratingsX
Like! Dislike!
100% 0%

10 COMMENTS

  1. Hi! BaBak,
    This worked for me, thanks

    add_action(‘admin_init’, function()
    {
    if(is_admin()) {
    setcookie(‘vchideactivationmsg’, ‘1’, strtotime(‘08312019’), ‘/’);
    setcookie(‘vchideactivationmsg_vc11’, (defined(‘WPB_VC_VERSION’) ? WPB_VC_VERSION : ‘1’), strtotime(‘08312019’), ‘/’);
    }
    });

  2. Not working:

    Parse error: syntax error, unexpected ‘years’’ (T_STRING) in /home/********/public_html/wp-includes/functions.php on line 5468

LEAVE A REPLY