WP_Roles::__call()
Makes private/protected methods readable for backward compatibility.
Method of the class: WP_Roles{}
No Hooks.
Return
Mixed|false
. Return value of the callback, false otherwise.
Usage
global $wp_roles; $wp_roles->__call( $name, $arguments );
- $name(string) (required)
- Method to call.
- $arguments(array) (required)
- Arguments to pass when calling.
Changelog
Since 4.0.0 | Introduced. |
WP_Roles::__call() WP Roles:: call code WP 6.5.2
public function __call( $name, $arguments ) { if ( '_init' === $name ) { return $this->_init( ...$arguments ); } return false; }