parse_term_query action-hookWP 4.6.0

Fires after term query vars have been parsed.

Usage

add_action( 'parse_term_query', 'wp_kama_parse_term_query_action' );

/**
 * Function for `parse_term_query` action-hook.
 * 
 * @param WP_Term_Query $query Current instance of WP_Term_Query.
 *
 * @return void
 */
function wp_kama_parse_term_query_action( $query ){

	// action...
}
$query(WP_Term_Query)
Current instance of WP_Term_Query.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

WP_Term_Query::parse_query()
parse_term_query
wp-includes/class-wp-term-query.php 294
do_action( 'parse_term_query', $this );

Where the hook is used in WordPress

Usage not found.