Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Fires before the sub-step section content is rendered.
Modifiers #
{$substep_id}(string) The ID of the sub-step being rendered. Example:contact,shipping_methods.
Parameters #
$step_id(string) The step identifier.$substep_id(string) Id of the sub-step.$context(string) Context in which the sub-step is being output. Defaults tocheckout.
Examples #
/**
* Add extra content before the sub-step contents.
*/
function add_custom_content( $step_id, $substep_id, $context ) {
echo '<div>Custom content before sub-step.</div>';
}
add_action( 'fc_before_substep_shipping_methods', 'add_custom_content', 10, 4 );
