get_user_count(); $is_administrator = current_user_can('administrator'); function newsletter_print_entries($group) { $entries = apply_filters('newsletter_menu_' . $group, array()); if ($entries) { foreach ($entries as &$entry) { echo '
  • '; echo $entry['label']; if (!empty($entry['description'])) { echo ''; echo $entry['description']; echo ''; } echo '
  • '; } } } // Check the status to show a warning if needed $status_options = Newsletter::instance()->get_options('status'); $warning = false; $warning |= empty($status_options['mail']); ?>
    50% discount offer until July, 15. Check it out.       No, thank you!
    options['page'])) { if (get_post_status(Newsletter::instance()->options['page']) === 'publish') { $content = get_post_field('post_content', Newsletter::instance()->options['page']); // With and without attributes if (strpos($content, '[newsletter]') === false && strpos($content, '[newsletter ') === false) { ?>
    × The Newsletter dedicated page does not contain the [newsletter] shortcode. If you're using a visual composer it could be ok. Edit the page.
    300) { ?>
    × We never asked before and we're curious: would you rate this plugin? (few seconds required - account on WordPress.org required, every blog owner should have one...). Really appreciated, The Newsletter Team.
    options['page'])) { ?>
    × You should create a blog page to show the subscription form and the subscription messages. Go to the general settings panel to configure it.
    × If you want to be informed of important updates of Newsletter, you may want to subscribe to our newsletter
    The Newsletter delivery engine is off (it should never be off). Deactivate and reactivate the Newsletter plugin.'; } else if (time() - $x > 900) { echo '
    The WP scheduler doesn\'t seem to be running correctly for Newsletter. Read this page to solve the problem.
    '; } else { // if (empty($this->options['disable_cron_notice'])) { // $cron_data = get_option('newsletter_diagnostic_cron_data'); // if ($cron_data && $cron_data['mean'] > 500) { // echo '

    The WP scheduler doesn\'t seem to be triggered enough often for Newsletter. Read this page to solve the problem or disable this notice on main settings.

    '; // } // } } } ?>
    show(); $controls->messages = ''; $controls->errors = ''; } ?>