Add WC customizer activation button to the editor [MAILPOET-2520]
This commit is contained in:
@ -105,8 +105,8 @@ class Settings {
|
||||
|
||||
if (isset($_GET['enable-customizer-notice'])) {
|
||||
$notice = new WPNotice(WPNotice::TYPE_ERROR, $this->wp->_x(
|
||||
'You need to enable MailPoet email customizer for WooCommerce if you want to access to the customizer.',
|
||||
'Notice in Settings when WooCommerce customizer is not enabled'
|
||||
'You need to have WooCommerce active to access the MailPoet email customizer for WooCommerce.',
|
||||
'Notice in Settings when WooCommerce is not enabled'
|
||||
), 'mailpoet');
|
||||
$notice->displayWPNotice();
|
||||
}
|
||||
|
Reference in New Issue
Block a user