do_parse_request WordPress Filter Hook

The do_parse_request hook is used to parse the request and load the correct template file. This hook is called before the template_redirect hook.

apply_filters( 'do_parse_request', bool $bool, WP $wp, array|string $extra_query_vars ) #

Filters whether to parse the request.


Parameters

$bool

(bool)Whether or not to parse the request. Default true.

$wp

(WP)Current WordPress environment instance.

$extra_query_vars

(array|string)Extra passed query variables.


Top ↑

Source

File: wp-includes/class-wp.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.