Add number of subscribers to segment selection

This commit is contained in:
Tautvidas Sipavičius
2016-04-08 14:16:05 +03:00
parent 9a46640c15
commit 49a59d35a1
4 changed files with 20 additions and 2 deletions

View File

@ -364,7 +364,7 @@ class Menu {
$data = array();
$data['segments'] = Segment::getPublished()->findArray();
$data['segments'] = Segment::getSegmentsWithSubscriberCount();
$data['settings'] = Setting::getAll();
$data['roles'] = $wp_roles->get_names();
$data['roles']['mailpoet_all'] = __('In any WordPress role');