WP_Terms_List_Table::get_bulk_actions

Advertisement

Syntax Syntax

WP_Terms_List_Table::get_bulk_actions()

Return Return

(array)

Source 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;
	}

Advertisement

Advertisement

Leave a Reply