| @@ 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 | ||
| @@ 271-291 (lines=21) @@ | ||
| 268 | /** |
|
| 269 | * Set the list table views for the default ticket list table view. |
|
| 270 | */ |
|
| 271 | public function _set_list_table_views_ticket_list_table() |
|
| 272 | { |
|
| 273 | $this->_views = array( |
|
| 274 | 'all' => array( |
|
| 275 | 'slug' => 'all', |
|
| 276 | 'label' => esc_html__('All', 'event_espresso'), |
|
| 277 | 'count' => 0, |
|
| 278 | 'bulk_action' => array( |
|
| 279 | 'trash_tickets' => esc_html__('Move to Trash', 'event_espresso'), |
|
| 280 | ), |
|
| 281 | ), |
|
| 282 | 'trashed' => array( |
|
| 283 | 'slug' => 'trashed', |
|
| 284 | 'label' => esc_html__('Trash', 'event_espresso'), |
|
| 285 | 'count' => 0, |
|
| 286 | 'bulk_action' => array( |
|
| 287 | 'restore_tickets' => esc_html__('Restore from Trash', 'event_espresso'), |
|
| 288 | 'delete_tickets' => esc_html__('Delete Permanently', 'event_espresso'), |
|
| 289 | ), |
|
| 290 | ), |
|
| 291 | ); |
|
| 292 | } |
|
| 293 | ||
| 294 | ||