Automattic\WooCommerce\EmailEditor

NotFoundException::getHttpStatusCode │ public │ WC 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 11.3.0

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