WP_Object_Cache::__unset()publicWP 4.0.0

Makes private properties un-settable for backward compatibility.

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

Хуков нет.

Возвращает

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

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

$WP_Object_Cache = new WP_Object_Cache();
$WP_Object_Cache->__unset( $name );
$name(строка) (обязательный)
Property to unset.

Список изменений

С версии 4.0.0 Введена.

Код WP_Object_Cache::__unset() WP 6.4.3

public function __unset( $name ) {
	unset( $this->$name );
}