Automattic\WooCommerce\Caching
CacheException::get_errors
Gets the array of error messages passed to the exception constructor.
Метод класса: CacheException{}
Хуков нет.
Возвращает
array. Error messages passed to the exception constructor.
Использование
$CacheException = new CacheException(); $CacheException->get_errors(): array;
Код CacheException::get_errors() CacheException::get errors WC 11.2.1
public function get_errors(): array {
return $this->errors;
}