WP_User_Query::__call( string $name, array $arguments ): mixed
In this article
Makes private/protected methods readable for backward compatibility.
Parameters
$namestringrequired- Method to call.
$argumentsarrayrequired- Arguments to pass when calling.
Return
mixed Return value of the callback, false otherwise.Source
public function __call( $name, $arguments ) {
if ( 'get_search_sql' === $name ) {
return $this->get_search_sql( ...$arguments );
}
return false;
}
Related
| Uses | Description |
|---|---|
WP_User_Query::get_search_sql()wp-includes/class-wp-user-query.php | Used internally to generate an SQL string for searching across multiple columns. |
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
