WP_User_Query::get( string $query_var )
Retrieve query variable.
Parameters
- $query_var
-
(Required) Query variable key.
Return
(mixed)
Source
File: wp-includes/class-wp-user-query.php
public function get( $query_var ) {
if ( isset( $this->query_vars[$query_var] ) )
return $this->query_vars[$query_var];
return null;
}
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |