fc_substep_change_button_label
Type: Filter
Filters the label of the substep change button.
Signature
apply_filters( 'fc_substep_change_button_label', $label );
Parameters
| Name | Type | Description |
|---|---|---|
$label | string | Label text. |
Since
1.2.0
Source: inc/checkout-steps.php
Examples
add_filter( 'fc_substep_change_button_label',
/**
* Customize substep change button label.
*
* @param string $label Label text.
* @return string Filtered value.
*/
function( $label ) {
return __( 'Edit', 'my-theme' );
},
10
);