Automattic\WooCommerce\EmailEditor

Container::__unserializepublicWC 1.0

Prevents deserialization of this class to avoid callback replacement attacks.

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

Хуков нет.

Возвращает

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

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

$Container = new Container();
$Container->__unserialize( $data ): void;
$data(массив) (обязательный)
The serialized data.

Код Container::__unserialize() WC 10.4.3

public function __unserialize( array $data ): void {
	throw new \Exception( 'Deserialization of Container is not allowed for security reasons.' );
}