W3cubDocs

/WordPress

WP_Terms_List_Table::get_bulk_actions()

Return

(array)

Source

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

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

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

		return $actions;
	}

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