On this page
apply_filters( 'do_parse_request', bool $bool, WP $wp, array|string $extra_query_vars )
Filters whether to parse the request.
Parameters
$boolbool-
Whether or not to parse the request. Default true.
$wpWP-
Current WordPress environment instance.
$extra_query_varsarray|string-
Extra passed query variables.
Source
File: wp-includes/class-wp.php. View all references
if ( ! apply_filters( 'do_parse_request', true, $this, $extra_query_vars ) ) {
Related
Used By
| Used By | Description |
|---|---|
| WP::parse_request() wp-includes/class-wp.php | Parses the request to find the correct WordPress query. |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/do_parse_request