- Removes Cron status from MailPoet's WP admin panel

This commit is contained in:
Vlad
2016-08-31 19:47:28 -04:00
parent 53a8ae74e2
commit 2986cdba85
5 changed files with 0 additions and 153 deletions

View File

@@ -186,15 +186,6 @@ class Menu {
'mailpoet-newsletter-editor',
array($this, 'newletterEditor')
);
add_submenu_page(
$main_page_slug,
$this->setPageTitle(__('Cron')),
__('Cron'),
'manage_options',
'mailpoet-cron',
array($this, 'cron')
);
}
function welcome() {
@@ -418,10 +409,6 @@ class Menu {
echo $this->renderer->render('form/editor.html', $data);
}
function cron() {
echo $this->renderer->render('cron.html');
}
function setPageTitle($title) {
return sprintf(
'%s - %s',