| @@ 296-316 (lines=21) @@ | ||
| 293 | /** |
|
| 294 | * Set the list table views for the default ticket list table view. |
|
| 295 | */ |
|
| 296 | public function _set_list_table_views_ticket_list_table() |
|
| 297 | { |
|
| 298 | $this->_views = array( |
|
| 299 | 'all' => array( |
|
| 300 | 'slug' => 'all', |
|
| 301 | 'label' => esc_html__('All', 'event_espresso'), |
|
| 302 | 'count' => 0, |
|
| 303 | 'bulk_action' => array( |
|
| 304 | 'trash_tickets' => esc_html__('Move to Trash', 'event_espresso'), |
|
| 305 | ), |
|
| 306 | ), |
|
| 307 | 'trashed' => array( |
|
| 308 | 'slug' => 'trashed', |
|
| 309 | 'label' => esc_html__('Trash', 'event_espresso'), |
|
| 310 | 'count' => 0, |
|
| 311 | 'bulk_action' => array( |
|
| 312 | 'restore_tickets' => esc_html__('Restore from Trash', 'event_espresso'), |
|
| 313 | 'delete_tickets' => esc_html__('Delete Permanently', 'event_espresso'), |
|
| 314 | ), |
|
| 315 | ), |
|
| 316 | ); |
|
| 317 | } |
|
| 318 | ||
| 319 | ||
| @@ 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 | ||