WP_User::__call() public WP 4.3.0
Makes private/protected methods readable for backward compatibility.
{} It's a method of the class: WP_User{}
No Hooks.
Return
Mixed|false
. Return value of the callback, false otherwise.
Usage
$WP_User = new WP_User(); $WP_User->__call( $name, $arguments );
- $name(string) (required)
- Method to call.
- $arguments(array) (required)
- Arguments to pass when calling.
Changelog
Since 4.3.0 | Introduced. |
Code of WP_User::__call() WP User:: call WP 5.7
public function __call( $name, $arguments ) {
if ( '_init_caps' === $name ) {
return $this->_init_caps( ...$arguments );
}
return false;
}