Skip to main content

fc_substep_text_display_value_{field_key}

Type: Filter

Filters the substep review display value for one checkout field.

The dynamic portion of the hook name, $field_key, refers to the checkout field key, for example billing_email or shipping_city. This runs after the field-type hook.

Signature​

apply_filters( 'fc_substep_text_display_value_{field_key}', $field_display_value, $field_value, $field_key, $field_args );

Parameters​

NameTypeDescription
$field_display_valuestringValue prepared for display in the substep review text.
$field_valuemixedSubmitted field value.
$field_keystringCheckout field key.
$field_argsarrayCheckout field arguments.

Since​

  • 1.5.0

Source: inc/checkout-steps.php