WP_Roles::__call() public WP 4.0.0
Make private/protected methods readable for backward compatibility.
{} Это метод класса: WP_Roles{}
Хуков нет.
Возвращает
Разное/false
. Return value of the callback, false otherwise.
Использование
global $wp_roles; $wp_roles->__call( $name, $arguments );
- $name(строка) (обязательный)
- Method to call.
- $arguments(массив) (обязательный)
- Arguments to pass when calling.
Список изменений
С версии 4.0.0 | Введена. |
Код WP_Roles::__call() WP Roles:: call WP 5.7.1
public function __call( $name, $arguments ) {
if ( '_init' === $name ) {
return $this->_init( ...$arguments );
}
return false;
}