Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Allows to change the step title.
Step titles are usually hidden by default (using screen-reader-text class) and only visible to screen readers, or for the checkout progress bar when using the Breadcrumbs style. Steps tiles are also used for accessibility and JavaScript functionality. To make them visually visible, you’ll need to add custom CSS to override the screen-reader-text class.
Modifiers #
{$step_id}(string) Defines the step id of the step title being modified. I.econtact,shipping,billing,payment, or another custom step id.
Parameters #
$title(string) The current checkout step title.$step_id(string) The checkout step id.$context(string) Context in which the function is running. Defaults to `checkout`.
Examples #
/**
* Customize contact step title.
*/
function customize_contact_step_title( $title ) {
return __( 'Your Contact Information', 'my-theme' );
}
add_filter( 'fc_step_title_contact', 'customize_contact_step_title', 10 );
