Automattic\WooCommerce\EmailEditor
Container::__unserialize
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() Container:: unserialize WC 10.4.3
public function __unserialize( array $data ): void {
throw new \Exception( 'Deserialization of Container is not allowed for security reasons.' );
}