WP_Comment_Query::__call()
Make private/protected methods readable for backward compatibility.
Method of the class: WP_Comment_Query{}
No Hooks.
Return
Mixed|false
. Return value of the callback, false otherwise.
Usage
$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.
Changelog
Since 4.0.0 | Introduced. |
WP_Comment_Query::__call() WP Comment Query:: call code WP 6.1.1
public function __call( $name, $arguments ) { if ( 'get_search_sql' === $name ) { return $this->get_search_sql( ...$arguments ); } return false; }