- This topic has 6 replies, 6 voices, and was last updated 6 years, 1 month ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Welcome to GPLDL - we are still beta - please report any bugs via the contact form.
I updated YITH Points and Rewards to ver 1.4.0 and now there’s a big nagging message about activating all YITH plugins on every single page! Super annoying! How to get rid of that? Thanks in advance.
aye, same problem here.
Have you guys found a way for this?
For the Woothemes notice I used a line provided here in the blog:
remove_action(‘admin_notices’, ‘woothemes_updater_notice’);
I also like to know how to disable this annoying notice from Yith.
Hey to remove the notice of YITH plugins you should go to every plugin of YITH you have and edit the file in folder “/plugin-fw/licence/lib/yit-plugin-licence.php”
At that file you should comment out the line that says:
add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 );
This means adding // to the front of that line or /* */ on both ends of that line.
it should look like this:
// add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 );
or
/* add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 ); */
Remember, this must be done on every YITH plugin you have.
My fav way is using WP Nag Hide by MKWD. It’s a free plugin that can hide just about any and all nag messages. Works on YITH stuff.
Now instead of add_action( ‘admin_notices’, array( $this, ‘activate_license_notice’ ), 15 ); they put this:
add_action( ‘admin_notices’, function () {
$this->activate_license_notice();
}, 15 );
}
If I comment it out, my website crashes. How to get rid of it? Thanks