WC_Product_Attribute::offsetExists()
[\ReturnTypeWillChange]{} It's a method of the class: WC_Product_Attribute{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->offsetExists( $offset );
- $offset (required)
- -
Code of WC_Product_Attribute::offsetExists() WC Product Attribute::offsetExists WC 6.7.0
public function offsetExists( $offset ) { return in_array( $offset, array_merge( array( 'is_variation', 'is_visible', 'is_taxonomy', 'value' ), array_keys( $this->data ) ), true ); }