Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: parse_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
1818           $this->query_vars_changed = false;
1819
1820           /**
1821            * Fires after the main query vars have been parsed.
1822            *
1823            * @since 1.5.0
1824            *
1825            * @param WP_Query &$this The WP_Query instance (passed by reference).
1826            */
1827           do_action_ref_array( 'parse_query', array( &$this ) );
1828      }
1829
1830      /**
1831       * Parses various taxonomy related query vars.
1832       *
1833       * For BC, this method is not marked as protected. See [28987].
1834       *
1835       * @access protected
1836       * @since 3.1.0