WordPress at Your Fingertips
function is not described

WC_Product_Attribute::offsetExists() public WC 1.0

OffsetExists.

{} It's a method of the class: WC_Product_Attribute{}

No Hooks.

Return

true|false.

Usage

$WC_Product_Attribute = new WC_Product_Attribute();
$WC_Product_Attribute->offsetExists( $offset );
$offset(string) (required)
Offset.

Code of WC_Product_Attribute::offsetExists() WC 5.6.0

public function offsetExists( $offset ) {
	return in_array( $offset, array_merge( array( 'is_variation', 'is_visible', 'is_taxonomy', 'value' ), array_keys( $this->data ) ), true );
}