WP::set_query_var

SummerySummery

Set the value of a query variable.

Syntax

WP::set_query_var( string $key, mixed $value )

ParametersParameters

$key

(string) (Required) Query variable name.

$value

(mixed) (Required) Query variable value.

SourceSource

File: wp-includes/class-wp.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top