Sets query variable.
Parameters
$query_var
stringrequired- Query variable key.
$value
mixedrequired- Query variable value.
Source
public function set( $query_var, $value ) {
$this->query_vars[ $query_var ] = $value;
}
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.