WC_Admin_API_Keys_Table_List::get_bulk_actions()protectedWC 1.0

Get bulk actions.

Method of the class: WC_Admin_API_Keys_Table_List{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_bulk_actions();

WC_Admin_API_Keys_Table_List::get_bulk_actions() code WC 8.7.0

protected function get_bulk_actions() {
	if ( ! current_user_can( 'remove_users' ) ) {
		return array();
	}

	return array(
		'revoke' => __( 'Revoke', 'woocommerce' ),
	);
}