WP_Object_Cache::__unset()
Makes private properties un-settable for backward compatibility.
Method of the class: WP_Object_Cache{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Object_Cache = new WP_Object_Cache(); $WP_Object_Cache->__unset( $name );
- $name(string) (required)
- Property to unset.
Changelog
Since 4.0.0 | Introduced. |
WP_Object_Cache::__unset() WP Object Cache:: unset code WP 6.6.2
public function __unset( $name ) { unset( $this->$name ); }