Sets query variable.
Parameters
$query_varstringrequired- Query variable key.
$valuemixedrequired- 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.