WP_List_Table::get_bulk_actions() – Get an associative array ( option_name => option_title ) with the list of bulk actions available on this table.
You appear to be a bot. Output may be restricted
Description
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',
- ]
- ]
Usage
$array = WP_List_Table::get_bulk_actions();
Parameters
Returns
array
Source
File name: wordpress/wp-admin/includes/class-wp-list-table.php
Lines:
protected function get_bulk_actions() { return array(); }