wordpress / latest / classes / wp_terms_list_table / get_bulk_actions.html

WP_Terms_List_Table::get_bulk_actions(): array

Return

array

Source

File: wp-admin/includes/class-wp-terms-list-table.php. View all references

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

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

	return $actions;
}

Uses

Uses Description

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_terms_list_table/get_bulk_actions