Automattic\WooCommerce\EmailEditor
AccessDeniedException::getHttpStatusCode
USE: When an action is forbidden for given actor (although generally valid). API: 403 Forbidden
Method of the class: AccessDeniedException{}
No Hooks.
Returns
null. Nothing (null).
Usage
$AccessDeniedException = new AccessDeniedException(); $AccessDeniedException->getHttpStatusCode(): int;
AccessDeniedException::getHttpStatusCode() AccessDeniedException::getHttpStatusCode code WC 10.8.1
public function getHttpStatusCode(): int {
return 403;
}