@@ 142-162 (lines=21) @@ | ||
139 | } |
|
140 | ||
141 | ||
142 | public function _set_list_table_views_default() |
|
143 | { |
|
144 | $this->_views = array( |
|
145 | 'all' => array( |
|
146 | 'slug' => 'all', |
|
147 | 'label' => __('All', 'event_espresso'), |
|
148 | 'count' => 0, |
|
149 | 'bulk_action' => array( |
|
150 | 'trash_tickets' => __('Move to Trash', 'event_espresso'), |
|
151 | ), |
|
152 | ), |
|
153 | 'trashed' => array( |
|
154 | 'slug' => 'trashed', |
|
155 | 'label' => __('Trash', 'event_espresso'), |
|
156 | 'count' => 0, |
|
157 | 'bulk_action' => array( |
|
158 | 'restore_tickets' => __('Restore from Trash', 'event_espresso'), |
|
159 | 'delete_tickets' => __('Delete Permanently', 'event_espresso'), |
|
160 | ), |
|
161 | ), |
|
162 | ); |
|
163 | } |
|
164 | ||
165 |
@@ 349-369 (lines=21) @@ | ||
346 | /** |
|
347 | * Set the list table views for the default ticket list table view. |
|
348 | */ |
|
349 | public function _set_list_table_views_ticket_list_table() |
|
350 | { |
|
351 | $this->_views = array( |
|
352 | 'all' => array( |
|
353 | 'slug' => 'all', |
|
354 | 'label' => esc_html__('All', 'event_espresso'), |
|
355 | 'count' => 0, |
|
356 | 'bulk_action' => array( |
|
357 | 'trash_tickets' => esc_html__('Move to Trash', 'event_espresso'), |
|
358 | ), |
|
359 | ), |
|
360 | 'trashed' => array( |
|
361 | 'slug' => 'trashed', |
|
362 | 'label' => esc_html__('Trash', 'event_espresso'), |
|
363 | 'count' => 0, |
|
364 | 'bulk_action' => array( |
|
365 | 'restore_tickets' => esc_html__('Restore from Trash', 'event_espresso'), |
|
366 | 'delete_tickets' => esc_html__('Delete Permanently', 'event_espresso'), |
|
367 | ), |
|
368 | ), |
|
369 | ); |
|
370 | } |
|
371 | ||
372 |