Retrieves the list of bulk actions available for this table.
Description
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',
]
]
Signature, return type and hooks compared across 5 parsed releases.
7.0.4
Return type changed from array to array<string,.verified against source
5.6.0
A bulk action can now contain an array of options in order to create an optgroup.from the docblock
3.1.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-admin/includes/class-wp-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.