Automattic\WooCommerce\EmailEditor
AccessDeniedException::getHttpStatusCode
USE: When an action is forbidden for given actor (although generally valid). API: 403 Forbidden
Метод класса: AccessDeniedException{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$AccessDeniedException = new AccessDeniedException(); $AccessDeniedException->getHttpStatusCode(): int;
Код AccessDeniedException::getHttpStatusCode() AccessDeniedException::getHttpStatusCode WC 10.7.0
public function getHttpStatusCode(): int {
return 403;
}