WP_User_Query::set( string $query_var, mixed $value )
Set query variable.
Parameters
- $query_var
-
(Required) Query variable key.
- $value
-
(Required) Query variable value.
Source
File: wp-includes/class-wp-user-query.php
public function set( $query_var, $value ) {
$this->query_vars[$query_var] = $value;
}
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |