WordPress at a glance
function is not described

WP_User_Query::__unset() public WP 4.0.0

Make private properties un-settable for backward compatibility.

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

No Hooks.

Return

null. Nothing.

Usage

$WP_User_Query = new WP_User_Query();
$WP_User_Query->__unset( $name );
$name(string) (required)
Property to unset.

Changelog

Since 4.0.0 Introduced.

Code of WP_User_Query::__unset() WP 5.7.2

<?php
public function __unset( $name ) {
	if ( in_array( $name, $this->compat_fields, true ) ) {
		unset( $this->$name );
	}
}