WP_Object_Cache::__unset

Advertisement

Summery Summery

Makes private properties un-settable for backward compatibility.

Syntax Syntax

WP_Object_Cache::__unset( string $name )

Parameters Parameters

$name

(Required) Property to unset.

Source Source

File: wp-includes/class-wp-object-cache.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply