WP_Comment_Query::__call() public WP 4.0.0
Make private/protected methods readable for backward compatibility.
{} Это метод класса: WP_Comment_Query{}
Хуков нет.
Возвращает
Разное/false. Return value of the callback, false otherwise.
Использование
$WP_Comment_Query = new WP_Comment_Query(); $WP_Comment_Query->__call( $name, $arguments );
- $name(строка) (обязательный)
- Method to call.
- $arguments(массив) (обязательный)
- Arguments to pass when calling.
Список изменений
С версии 4.0.0 | Введена. |
Код WP_Comment_Query::__call() WP Comment Query:: call WP 5.6
public function __call( $name, $arguments ) {
if ( 'get_search_sql' === $name ) {
return $this->get_search_sql( ...$arguments );
}
return false;
}