parse_term_query WordPress Action Hook

The parse_term_query hook is used to modify the sql query that is used to fetch data from the terms table in the database. This hook is useful for customizing how data is retrieved from the terms table.

do_action( 'parse_term_query', WP_Term_Query $query ) #

Fires after term query vars have been parsed.


Parameters

$query

(WP_Term_Query)Current instance of WP_Term_Query.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.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.