fc_before_checkout_shipping_address_wrapper
Type: Action
Fires before the shipping address wrapper, where the ship-to-different-address option is rendered.
Signature
do_action( 'fc_before_checkout_shipping_address_wrapper', $checkout );
Parameters
| Name | Type | Description |
|---|---|---|
$checkout | \WC_Checkout | Checkout object. |
Since
1.2.0
Source: templates/fc/checkout-steps/checkout/form-shipping.php
Examples
add_action( 'fc_before_checkout_shipping_address_wrapper',
/**
* Add shipping fields intro.
*
* @param \WC_Checkout $checkout Checkout object.
*/
function( $checkout ) {
echo '<p>Please make sure to double check your information!</p>';
},
10
);