WP_User_Query::get( string $query_var )
Retrieve query variable.
Parameters
- $query_var
-
(string) (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 |
---|---|
3.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user_query/get