Home Forums WoodMart support forum Disable plugin activation notifications

Disable plugin activation notifications

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #183957

    Fareast
    Participant

    Hello. I do not use Rev Slider and MailChimp for WordPress. How to disable notifications about their installation and activation? Can eat a hook?

    #184045

    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.

    #184058

    Fareast
    Participant

    No. Need to turn off the hook TGM Plugin Activation уведомления о необходимости notifications of the need to install Revslider and MailCimp.

    #184093

    Artem Temos
    Keymaster

    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

    #248591

    LisaA
    Participant

    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?

    #248592

    Artem Temos
    Keymaster

    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.

    #436156

    sg5
    Participant

    Hi,
    We are looking for the same solution. Is this hook now already available?

    Thanks

    #436365

    Artem Temos
    Keymaster

    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

Viewing 8 posts - 1 through 8 (of 8 total)