WP_Privacy_Requests_Table::get_bulk_actions() WordPress Method
The WP_Privacy_Requests_Table::get_bulk_actions() method allows you to get the bulk actions that are available for the privacy requests table. This is useful if you need to add your own custom actions to the table.
WP_Privacy_Requests_Table::get_bulk_actions() #
Get bulk actions.
Return
(array) Array of bulk action labels keyed by their action.
Source
File: wp-admin/includes/class-wp-privacy-requests-table.php
protected function get_bulk_actions() { return array( 'resend' => __( 'Resend confirmation requests' ), 'complete' => __( 'Mark requests as completed' ), 'delete' => __( 'Delete requests' ), ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |