Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: parse_term_query

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
264           $this->query_vars = apply_filters( 'get_terms_args', $query, $taxonomies );
265
266           /**
267            * Fires after term query vars have been parsed.
268            *
269            * @since 4.6.0
270            *
271            * @param WP_Term_Query $this Current instance of WP_Term_Query.
272            */
273           do_action( 'parse_term_query', $this );
274      }
275
276      /**
277       * Sets up the query for retrieving terms.
278       *
279       * @since 4.6.0
280       * @access public
281       *
282       * @param string|array $query Array or URL query string of parameters.