WordPress at Your Fingertips
function is not described

WP_User_Query::__construct() public WP 3.1.0

PHP5 constructor.

{} 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->__construct( $query );
$query(null|string|array)
The query variables.
Default: null

Code of WP_User_Query::__construct() WP 5.8.3

public function __construct( $query = null ) {
	if ( ! empty( $query ) ) {
		$this->prepare_query( $query );
		$this->query();
	}
}