• Resolved petergil456

    (@petergil456)


    Currently using your plugin but I was unable to find the hook or your documentation.
    As client wants to update certain steps.

    Sample screenshot:
    2022-02-03_08-20-18

    Hoping to find a solution.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @petergil456,

    Yes, you can use the hooks fc_substep_title_<substep_id> to change the title of each substep, replacing <substep_id> with the actual substep id.

    For example, use the code snippet below to change the shipping address substep title:

    /**
     * Change the shipping address substep title.
     */
    function fluidcheckout_change_shipping_address_substep_title( $title ) {
    	$title = __( 'Shipping address', 'your-text-domain' );
    	return $title;
    }
    add_filter( 'fc_substep_title_shipping_address', 'fluidcheckout_change_shipping_address_substep_title', 10 );

    If you are unsure about how to add the code snippet, check our article:
    How to safely add code snippets to your WooCommerce website

    Best,
    Diego

    Thread Starter petergil456

    (@petergil456)

    Thank you for the reply and will add the code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to update the title of steps using hook?’ is closed to new replies.