WordPress at a glance
function is not described

WP_User_Query::__set() public WP 4.0.0

Make private properties settable for backward compatibility.

{} It's a method of the class: WP_User_Query{}

No Hooks.

Return

Mixed. Newly-set property.

Usage

$WP_User_Query = new WP_User_Query();
$WP_User_Query->__set( $name, $value );
$name(string) (required)
Property to check if set.
$value(mixed) (required)
Property value.

Changelog

Since 4.0.0 Introduced.

Code of WP_User_Query::__set() WP 5.7.2

<?php
public function __set( $name, $value ) {
	if ( in_array( $name, $this->compat_fields, true ) ) {
		return $this->$name = $value;
	}
}