WordPress at a glance
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.

Changelog

Since 3.1.0 Introduced.

Code of WP_User_Query::__construct() WP 5.7.2

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