Show congratulation page after first newsletter

[MAILPOET-1468]
This commit is contained in:
Pavel Dohnal
2018-10-31 13:36:03 +01:00
parent 6c8705f3c2
commit b9993da62c
16 changed files with 322 additions and 12 deletions

View File

@@ -575,6 +575,8 @@ class Menu {
'+1 hour',
24
);
$data['mailpoet_main_page'] = admin_url('admin.php?page=' . self::MAIN_PAGE_SLUG);
$data['show_congratulate_after_first_newsletter'] = isset($data['settings']['show_congratulate_after_first_newsletter'])?$data['settings']['show_congratulate_after_first_newsletter']:'false';
$data['tracking_enabled'] = Setting::getValue('tracking.enabled');
$data['premium_plugin_active'] = License::getLicense();