Added Subscribers empty page, with test.

This commit is contained in:
marco
2015-08-18 16:57:13 +02:00
parent fd0cc96fb2
commit 347706e119
5 changed files with 58 additions and 3 deletions

View File

@ -34,6 +34,14 @@ class Menu {
'mailpoet-settings',
array($this, 'settings')
);
add_submenu_page(
'mailpoet',
'Subscribers',
'Subscribers',
'manage_options',
'mailpoet-subscribers',
array($this, 'subscribers')
);
}
function home() {
@ -45,4 +53,9 @@ class Menu {
$data = array();
echo $this->renderer->render('settings.html', $data);
}
function subscribers() {
$data = array();
echo $this->renderer->render('subscribers.html', $data);
}
}