WP_User_Query::__call()publicWP 4.0.0

Makes private/protected methods readable for backward compatibility.

Method of the class: WP_User_Query{}

No Hooks.

Return

Mixed. Return value of the callback, false otherwise.

Usage

$WP_User_Query = new WP_User_Query();
$WP_User_Query->__call( $name, $arguments );
$name(string) (required)
Method to call.
$arguments(array) (required)
Arguments to pass when calling.

Changelog

Since 4.0.0 Introduced.

WP_User_Query::__call() code WP 6.4.3

public function __call( $name, $arguments ) {
	if ( 'get_search_sql' === $name ) {
		return $this->get_search_sql( ...$arguments );
	}
	return false;
}