Automattic\WooCommerce\EmailEditor

NotFoundException::getHttpStatusCodepublicWC 1.0

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

Метод класса: NotFoundException{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код NotFoundException::getHttpStatusCode() WC 10.0.2

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