wordpress / latest / hooks / query_string.html

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_string string
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'
);

Used By

Used By Description

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