WP_Object_Cache::__isset
Makes private properties checkable for backward compatibility.
Method of the class: WP_Object_Cache{}
No Hooks.
Returns
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() WP Object Cache:: isset code WP 7.0
public function __isset( $name ) {
return isset( $this->$name );
}