Automattic\WooCommerce\EmailEditor
AccessDeniedException{}└─ HttpAwareException, UnexpectedValueException
USE: When an action is forbidden for given actor (although generally valid). API: 403 Forbidden
No Hooks.
Usage
$AccessDeniedException = new AccessDeniedException(); // use class methods
Methods
- public getHttpStatusCode()
AccessDeniedException{} AccessDeniedException{} code WC 10.6.2
class AccessDeniedException extends UnexpectedValueException implements HttpAwareException {
public function getHttpStatusCode(): int {
return 403;
}
}