WC_Meta_Data::__isset()
Checks if a given key exists in our data. This is called internally by empty and isset.
Method of the class: WC_Meta_Data{}
No Hooks.
Return
true|false
.
Usage
$WC_Meta_Data = new WC_Meta_Data(); $WC_Meta_Data->__isset( $key );
- $key(string) (required)
- Key to check if set.
WC_Meta_Data::__isset() WC Meta Data:: isset code WC 9.8.2
public function __isset( $key ) { return array_key_exists( $key, $this->current_data ); }