public function __construct($routing = TRUE) { //define any constants that might not be defined yet when using this mock. if (!defined('EVENTS_PG_SLUG')) { define('EVENTS_PG_SLUG', 'espresso_events'); define('EVENTS_LABEL', __('Events', 'event_espresso')); define('EVENTS_ADMIN', EE_ADMIN_PAGES . 'events' . DS); define('EVENTS_ADMIN_URL', admin_url('admin.php?page=' . EVENTS_PG_SLUG)); define('EVENTS_TEMPLATE_PATH', EVENTS_ADMIN . 'templates' . DS); define('EVENTS_ASSETS_URL', EE_PLUGIN_DIR_URL . 'admin_pages/events/assets/'); } parent::__construct(false); }
protected function _set_list_table_views_category_list() { parent::_set_list_table_views_category_list(); // $this->_views['all']['bulk_action']['export_categories'] = __('Export Categories', 'event_espresso'); }