Disable plugin activation notifications
-
Hello. I do not use Rev Slider and MailChimp for WordPress. How to disable notifications about their installation and activation? Can eat a hook?
Hello,
First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family :-)
.
To disable the notifications from the plugin there is no option available in theme settings. Because the notifications are WordPress functionality and our theme doesn’t influence this.
You can try adding any third party plugin that better meets your requirements.
OR
You can read the following articles for further help:
https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/
https://wordpress.stackexchange.com/questions/20580/disable-update-notification-for-individual-plugins
Best Regards.
No. Need to turn off the hook TGM Plugin Activation уведомления о необходимости notifications of the need to install Revslider and MailCimp.
Hello,
There is no hook to disable TGM plugin notifications. If you want to hide them completely, edit the file woodmart\inc\theme-setup.php
and change the following code
'has_notices' => true,
to
'has_notices' => false,
Regards
This answer alters the parent theme so whe the parent theme is updated, the change will be overwritten.
When using a child theme, what function can be added the child theme’s function.php file to turn these notices off permanently?
Currently, there is no hook there. We will add it in our next theme update so you could disable it using the child theme only.
Hi,
We are looking for the same solution. Is this hook now already available?
Thanks
Hello,
You need to apply patch #436361 and add this snippet to the functions.php file in your child theme to do this
add_filter( 'woodmart_tgmpa_configs_plugins', 'wd_update_tgmpa_configs' );
function wd_update_tgmpa_configs( $configs ) {
$configs['has_notices'] = false;
return $configs;
}
Kind Regards