WP_Roles::__call( string $name, array $arguments ): mixed|false

In this article

Makes private/protected methods readable for backward compatibility.

Parameters

$namestringrequired
Method to call.
$argumentsarrayrequired
Arguments to pass when calling.

Return

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

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.