WP_Term_Query::query

Advertisement

Summery Summery

Sets up the query for retrieving terms.

Syntax Syntax

WP_Term_Query::query( string|array $query )

Parameters Parameters

$query

(Required) Array or URL query string of parameters.

Return Return

(array|int) List of terms, or number of terms when 'count' is passed as a query var.

Source Source

File: wp-includes/class-wp-term-query.php

	/**
	 * Sets up the query for retrieving terms.
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply