WP_MS_Users_List_Table::get_bulk_actions()
Method of the class: WP_MS_Users_List_Table{}
No Hooks.
Return
Array
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_bulk_actions();
WP_MS_Users_List_Table::get_bulk_actions() WP MS Users List Table::get bulk actions code WP 6.6.2
protected function get_bulk_actions() { $actions = array(); if ( current_user_can( 'delete_users' ) ) { $actions['delete'] = __( 'Delete' ); } $actions['spam'] = _x( 'Mark as spam', 'user' ); $actions['notspam'] = _x( 'Not spam', 'user' ); return $actions; }