WordPress at Your Fingertips
filter is not described

query_string filter-hook . WP 1.5.0

Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. See query_vars.

Deprecated: 2.1.0 Use {@see 'query_vars'} or {@see 'request'} filters instead.

Filters the query string before parsing.


add_filter( 'query_string', 'filter_function_name_5033', 10, 3 );
function filter_function_name_5033( $query_string, $string, $request ){
	// filter...

	return $query_string;
The query string to modify.


Since 1.5.0 Introduced.
Deprecated Since 2.1.0 Use {@see 'query_vars'} or {@see 'request'} filters instead.

Where the hook is called

wp-includes/class-wp.php 559-564
$this->query_string = apply_filters_deprecated(
	array( $this->query_string ),
	'query_vars, request'

Where in WP core the hook is used WordPress

Usage not found.