Makes private/protected methods readable for backward compatibility.
Parameters
$name
stringrequired- Method to call.
$arguments
arrayrequired- Arguments to pass when calling.
Source
public function __call( $name, $arguments ) {
if ( '_multisite_getUsersBlogs' === $name ) {
return $this->_multisite_getUsersBlogs( ...$arguments );
}
return false;
}
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.