Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Modifies the label of “proceed to next step” buttons.
These “proceed to next step” buttons are displayed on the step prior to the step being modified.
Parameters #
$label(string) The button label text.$step_id(string) The current step ID.
Examples #
/**
* Customize proceed button labels.
*/
function customize_proceed_button_labels( $label, $step_id ) {
if ( 'shipping' === $step_id ) {
return __( 'Continue to Delivery', 'your-text-domain' );
}
return $label;
}
add_filter( 'fc_proceed_to_next_step_button_label', 'customize_proceed_button_labels', 10, 2 );
