WordPress at a glance
function is not described

WP_Comment_Query::__call() public WP 4.0.0

Make private/protected methods readable for backward compatibility.

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

No Hooks.


Mixed|false. Return value of the callback, false otherwise.


$WP_Comment_Query = new WP_Comment_Query();
$WP_Comment_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_Comment_Query::__call() WP 5.7.1

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