WP_User::__call()
Makes private/protected methods readable for backward compatibility.
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. |
WP_User::__call() WP User:: call code WP 6.6.2
public function __call( $name, $arguments ) { if ( '_init_caps' === $name ) { return $this->_init_caps( ...$arguments ); } return false; }