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
1044           $this->query_vars_changed = false;
1045
1046           /**
1047            * Fires after the main query vars have been parsed.
1048            *
1049            * @since 1.5.0
1050            *
1051            * @param WP_Query &$this The WP_Query instance (passed by reference).
1052            */
1053           do_action_ref_array( 'parse_query', array( &$this ) );
1054      }
1055
1056      /**
1057       * Parses various taxonomy related query vars.
1058       *
1059       * For BC, this method is not marked as protected. See [28987].
1060       *
1061       * @access protected
1062       * @since 3.1.0