apply_filters( 'mt_custom_fields', $fields, $context ) → {array}
Hook to add custom fields.
Parameters:
Name | Type | Description |
---|---|---|
$fields |
array | Array of custom fields. Default empty. |
$context |
string | Where is this function being called. Input, cart, ticket, receipt, etc. |
- Source:
Returns:
- Type
- array