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.


Top ↑

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' ),
		);
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.