WP_Terms_List_Table::get_bulk_actions()protectedWP 1.0

Method of the class: WP_Terms_List_Table{}

No Hooks.

Return

Array.

Usage

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

WP_Terms_List_Table::get_bulk_actions() code WP 6.5.2

protected function get_bulk_actions() {
	$actions = array();

	if ( current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->delete_terms ) ) {
		$actions['delete'] = __( 'Delete' );
	}

	return $actions;
}