GC_Comment_Query::__call()

最后更新于:2021-11-26 22:42:24

GC_Comment_Query::__call( string$name, array$arguments)

Make private/protected methods readable for backward compatibility.

参数

$name

(string) (Required) Method to call.

$arguments

(array) (Required) Arguments to pass when calling.

响应

(mixed|false) 响应 value of the callback, false otherwise.

源文件

文件: gc-includes/class-gc-comment-query.php

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