WP_User_Query::__call()publicWP 4.0.0

Makes private/protected methods readable for backward compatibility.

Метод класса: WP_User_Query{}

Хуков нет.

Возвращает

Разное. Return value of the callback, false otherwise.

Использование

$WP_User_Query = new WP_User_Query();
$WP_User_Query->__call( $name, $arguments );
$name(строка) (обязательный)
Method to call.
$arguments(массив) (обязательный)
Arguments to pass when calling.

Список изменений

С версии 4.0.0 Введена.

Код WP_User_Query::__call() WP 6.5.2

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