WC_Meta_Data::__isset( string $key )
Checks if a given key exists in our data. This is called internally by empty and isset.
Description Description
Parameters Parameters
- $key
-
(Required) Key to check if set.
Return Return
(bool)
Source Source
File: includes/class-wc-meta-data.php
public function __isset( $key ) {
return array_key_exists( $key, $this->current_data );
}