fc_before_checkout_billing_only_form
Type: Action
Fires before the billing-only checkout fields.
Signature
do_action( 'fc_before_checkout_billing_only_form', $checkout );
Parameters
| Name | Type | Description |
|---|---|---|
$checkout | \WC_Checkout | Checkout object. |
Since
1.5.0
Source: templates/fc/checkout-steps/checkout/form-billing.php
Examples
add_action( 'fc_before_checkout_billing_only_form',
/**
* Add Custom message to Billing only form.
*
* @param \WC_Checkout $checkout Checkout object.
*/
function( $checkout ) {
echo '<div>Custom message</div>';
},
10
);