WP_User_Query::__call( string $name, array $arguments ): mixed

In this article

Makes private/protected methods readable for backward compatibility.

Parameters

$namestringrequired
Method to call.
$argumentsarrayrequired
Arguments to pass when calling.

Return

mixed Return value of the callback, false otherwise.

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.