WordPress at Your Fingertips
function is not described

WP_Roles::__call() public WP 4.0.0

Make private/protected methods readable for backward compatibility.

{} It's a method of the class: WP_Roles{}

No Hooks.


Mixed|false. Return value of the callback, false otherwise.


global $wp_roles;
$wp_roles->__call( $name, $arguments );
$name(string) (required)
Method to call.
$arguments(array) (required)
Arguments to pass when calling.

Code of WP_Roles::__call() WP 5.8.3

public function __call( $name, $arguments ) {
	if ( '_init' === $name ) {
		return $this->_init( ...$arguments );
	return false;