WP_Terms_List_Table::get_bulk_actions
Method of the class: WP_Terms_List_Table{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_bulk_actions();
WP_Terms_List_Table::get_bulk_actions() WP Terms List Table::get bulk actions code WP 6.9
protected function get_bulk_actions() {
$actions = array();
if ( current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->delete_terms ) ) {
$actions['delete'] = __( 'Delete' );
}
return $actions;
}