WP_User_Query::__construct( null|string|array $query = null )

PHP5 constructor.


Parameters

$query

(Optional) The query variables.

Default value: null


Source

File: wp-includes/class-wp-user-query.php

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

Changelog

Changelog
Version Description
3.1.0 Introduced.