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

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

Хуков нет.

Возвращает

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

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

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

Код NotFoundException::getHttpStatusCode() WC 11.2.2

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