Automattic\WooCommerce\EmailEditor

NotFoundException::getHttpStatusCodepublicWC 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.

Returns

null. Nothing (null).

Usage

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

NotFoundException::getHttpStatusCode() code WC 10.5.0

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