WordPress at Your Fingertips
function is not described

WC_Order_Item_Fee::offsetExists() public WC 1.0

[\ReturnTypeWillChange]

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Fee = new WC_Order_Item_Fee();
$WC_Order_Item_Fee->offsetExists( $offset );
$offset (required)
-

Code of WC_Order_Item_Fee::offsetExists() WC 6.1.0

public function offsetExists( $offset ) {
	if ( in_array( $offset, array( 'line_total', 'line_tax', 'line_tax_data' ), true ) ) {
		return true;
	}
	return parent::offsetExists( $offset );
}