MailPoet\EmailEditor

AccessDeniedException::getHttpStatusCode()publicWC 1.0

USE: When an action is forbidden for given actor (although generally valid). API: 403 Forbidden

Method of the class: AccessDeniedException{}

No Hooks.

Return

null. Nothing (null).

Usage

$AccessDeniedException = new AccessDeniedException();
$AccessDeniedException->getHttpStatusCode(): int;

AccessDeniedException::getHttpStatusCode() code WC 9.8.1

public function getHttpStatusCode(): int {
  return 403;
}