Skip to main content

fc_billing_same_as_shipping_option_label

Type: Filter

Filters the label of the "same as shipping address" option.

Signature​

apply_filters( 'fc_billing_same_as_shipping_option_label', $label );

Parameters​

NameTypeDescription
$labelstringLabel text.

Since​

  • 1.5.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_billing_same_as_shipping_option_label',
/**
* Customize billing same as shipping option label.
*
* @param string $label Label text.
* @return string Filtered value.
*/
function( $label ) {
return __( 'Use shipping address for billing', 'my-theme' );
},
10
);