WordPress at Your Fingertips
function is not described

WP_User_Query::__call() public WP 4.0.0

Make private/protected methods readable for backward compatibility.

{} It's a method of the class: WP_User_Query{}

No Hooks.


Mixed. Return value of the callback, false otherwise.


$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.


Since 4.0.0 Introduced.

Code of WP_User_Query::__call() WP 5.9

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