apply_filters_deprecated( ‘query_string’, string $query_string )

In this article

This hook has been deprecated. Use {@see ‘query_vars’} or {@see ‘request’} filters instead.

Filters the query string before parsing.

Parameters

$query_stringstring
The query string to modify.

Source

$this->query_string = apply_filters_deprecated(
	'query_string',
	array( $this->query_string ),
	'2.1.0',
	'query_vars, request'
);

Changelog

VersionDescription
2.1.0Use 'query_vars' or 'request' filters instead.
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.