On this page
apply_filters_deprecated( 'query_string', string $query_string )
This hook has been deprecated. Use ‘query_vars’ or ‘request’ filters instead.
Filters the query string before parsing.
Parameters
$query_stringstring-
The query string to modify.
Source
File: wp-includes/class-wp.php. View all references
$this->query_string = apply_filters_deprecated(
'query_string',
array( $this->query_string ),
'2.1.0',
'query_vars, request'
);
Related
Used By
| Used By | Description |
|---|---|
| WP::build_query_string() wp-includes/class-wp.php | Sets the query string property based off of the query variable property. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Use 'query_vars' or 'request' filters instead. |
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/query_string