Added Subscribers empty page, with test.
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user