WP_Term_Query::query

SummerySummery

Sets up the query for retrieving terms.

Syntax

WP_Term_Query::query( string|array $query )

ParametersParameters

$query

(string|array) (Required) Array or URL query string of parameters.

ReturnReturn

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

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.6.0 Introduced.
Scroll to Top