parse_tax_query WordPress Action Hook

The parse_tax_query hook is a WordPress hook that allows you to modify the tax query before it is parsed by WordPress. This can be useful if you want to change the order of the taxonomies or remove certain taxonomies from the query.

do_action( 'parse_tax_query', WP_Query $query ) #

Fires after taxonomy-related query vars have been parsed.


Parameters

$query

(WP_Query)The WP_Query instance.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More