WP_User_Query::set( string $query_var, mixed $value )

In this article

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

VersionDescription
3.5.0Introduced.

User Contributed Notes

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