WC_Admin_API_Keys_Table_List::get_bulk_actions()
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() WC Admin API Keys Table List::get bulk actions code WC 9.6.1
protected function get_bulk_actions() { if ( ! current_user_can( 'remove_users' ) ) { return array(); } return array( 'revoke' => __( 'Revoke', 'woocommerce' ), ); }