MailPoet\EmailEditor

NotFoundException::getHttpStatusCode()publicWC 1.0

USE: When the main resource we're interested in doesn't exist. API: 404 Not Found

Method of the class: NotFoundException{}

No Hooks.

Return

null. Nothing (null).

Usage

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

NotFoundException::getHttpStatusCode() code WC 9.8.1

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