apply_filters( 'mt_cart_custom_fields', $fields, $cart, $gateway ) → {array}
Filter cart custom fields when generating the shopping cart.
Parameters:
Name | Type | Description |
---|---|---|
$fields |
array | Array of defined custom fields. Initialized as empty array. |
$cart |
array | Shopping cart contents. |
$gateway |
string | Gateway in use. |
- Source:
Returns:
- Type
- array