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