WP_Object_Cache::__isset │ public │ WP 4.0.0

Makes private properties checkable for backward compatibility.

Method of the class: WP_Object_Cache{}

No Hooks.

Returns

bool. Whether the property is set.

Usage

$WP_Object_Cache = new WP_Object_Cache();
$WP_Object_Cache->__isset( $name );
$name(string) (required)
Property to check if set.

Changelog

Since 4.0.0 Introduced.

WP_Object_Cache::__isset() code WP 7.1.2

public function __isset( $name ) {
	return isset( $this->$name );
}