Skip to main content

fc_progress_bar_step_title_{step_id}

Type: Filter

Filters the progress bar label of a checkout step.

The dynamic portion of the hook name, $step_id, refers to the checkout step ID. Additional hook names are created for steps registered by other plugins. Possible hook names include:

  • fc_progress_bar_step_title_contact
  • fc_progress_bar_step_title_shipping
  • fc_progress_bar_step_title_billing
  • fc_progress_bar_step_title_payment

Signature​

apply_filters( 'fc_progress_bar_step_title_{step_id}', $step_title, $step_id, $step_args, $step_index, $context );

Parameters​

NameTypeDescription
$step_titlestringCheckout step title.
$step_idstringCheckout step ID.
$step_argsarrayCheckout step arguments.
$step_indexintZero-based position of the step.
$contextstringContext in which the hook runs. Default checkout.

Since​

  • 4.1.0

Source: inc/checkout-steps.php