WP_Object_Cache::__isset()publicWP 4.0.0

Makes private properties checkable for backward compatibility.

Method of the class: WP_Object_Cache{}

No Hooks.

Return

true|false. 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 6.5.2

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