WC_Order_Item_Fee::offsetExists( string $offset )
OffsetExists for ArrayAccess
Description Description
Parameters Parameters
- $offset
-
(Required) Offset.
Return Return
(bool)
Source Source
File: includes/class-wc-order-item-fee.php
public function offsetExists( $offset ) { if ( in_array( $offset, array( 'line_total', 'line_tax', 'line_tax_data' ), true ) ) { return true; } return parent::offsetExists( $offset ); }