close

WP_User_Query::get( string $query_var ): mixed

In this article

Retrieves query variable.

Parameters

$query_varstringrequired
Query variable key.

Return

mixed

Source

public function get( $query_var ) {
	return $this->query_vars[ $query_var ] ?? null;
}

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.