WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
1621 | if ( $this->is_posts_page && ( ! isset($qv['withcomments']) || ! $qv['withcomments'] ) ) |
1622 | $this->is_comment_feed = false; |
1623 |
|
1624 | $this->is_singular = $this->is_single || $this->is_page || $this->is_attachment; |
1625 | // Done correcting is_* for page_on_front and page_for_posts |
1626 |
|
1627 | if ( '404' == $qv['error'] ) |
1628 | $this->set_404(); |
1629 |
|
1630 | do_action_ref_array('parse_query', array(&$this)); |
1631 | } |
1632 |
|
1633 | /* |
1634 | * Parses various taxonomy related query vars. |
1635 | * |
1636 | * @access protected |
1637 | * @since 3.1.0 |
1638 | * |
1639 | * @param array &$q The query variables |