fc_substep_{substep_id}_attributes
Type: Filter
Filters additional attributes for the substep output, allowing other plugins to add or modify attributes.
The dynamic portion of the hook name, $substep_id, refers to the checkout substep ID. Additional hook names are created for substeps registered by other plugins. Possible hook names include:
fc_substep_contact_attributesfc_substep_shipping_address_attributesfc_substep_shipping_method_attributesfc_substep_order_notes_attributesfc_substep_billing_address_attributesfc_substep_payment_attributesfc_substep_coupon_codes_attributes
Signature
apply_filters( 'fc_substep_{substep_id}_attributes', $additional_attributes, $context );
Parameters
| Name | Type | Description |
|---|---|---|
$additional_attributes | array | Additional HTML attributes to add to the substep element. |
$context | string | Context in which the substep is being output for. Defaults to checkout. |
Since
1.3.1
Source: inc/checkout-steps.php