Retrieves the list of bulk actions available for this table.
The format is an associative array where each element represents either a top level option value and label, or an array representing an optgroup and its options.
For a standard option, the array element key is the field value and the array element value is the field label.
For an optgroup, the array element key is the label and the array element value is an associative array of options as above.
Example:
[
'edit' => 'Edit',
'delete' => 'Delete',
'Change State' => [
'feature' => 'Featured',
'sale' => 'On Sale',
]
]Override this method to return an associative array ( action_slug => action_title ) containing all the bulk actions available for the table.
protected function get_bulk_actions() {
return array();
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/get_bulk_actions