Lazy_String::__unserialize( array $data )

PHP 8.0+ compatible implementation of the unserialization logic.


Parameters

$data

(array) (Required) The data to unserialize.


Top ↑

Source

File: src/Tribe/Utils/Lazy_String.php

	public function __unserialize( array $data ): void {
		$this->string  = $data['string'] ?? null;
		$this->escaped = $data['escaped'] ?? null;
	}

Top ↑

Changelog

Changelog
Version Description
5.0.6 Introduced.