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.
Source
File: wp-includes/class-wp.php
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |