Bulk actions + Extra data
- fixed issue on bulk action being run even without any items selected - added WP like feature regarding item selection, if all items are checked, it also checks the header/footer checkboxes - fixed issue where the selection state was not properly reset - added List column to subscribers - added json_encode/json_decode to Twig
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
namespace MailPoet\Config;
|
||||
use \MailPoet\Models\Segment;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
@@ -80,6 +81,9 @@ class Menu {
|
||||
|
||||
function subscribers() {
|
||||
$data = array();
|
||||
|
||||
$data['segments'] = Segment::findArray();
|
||||
|
||||
echo $this->renderer->render('subscribers.html', $data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user