Filter hook 'terms_clauses'

in WP Core File wp-includes/class-wp-term-query.php at line 734

Description

Filters the terms query SQL clauses. }

Occurrences

Filename Line Number
wp-includes/class-wp-term-query.php 734

Parameters

Type Name Description
string[] $clauses { Associative array of the clauses for the query.
string[] $taxonomies An array of taxonomy names.
array $args An array of term query arguments.

PHP Doc

/**
		 * 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.
		 */