WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about terms_clauses

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-term-query.php apply_filters 731 /**
* Filters the terms query SQL clauses.
*
* @since 3.1.0
*
* @param string[] $clauses {
* Associative array of the clauses for the query.
*
* @type string $fields The SELECT clause of the query.
* @type string $join The JOIN clause of the query.
* @type string $where The WHERE clause of the query.
* @type string $distinct The DISTINCT clause of the query.
* @type string $orderby The ORDER BY clause of the query.
* @type string $order The ORDER clause of the query.
* @type string $limits The LIMIT clause of the query.
* }
* @param string[] $taxonomies An array of taxonomy names.
* @param array $args An array of term query arguments.
*/

Hook Parameters

Parameter Type Name Description
string[] $clause s {
string[] $taxonomies An array of taxonomy names.
array $args An array of term query arguments.