Skip to main content

fc_pro_order_details_customer_billing_address_label

Type: Filter

Filters the label for order details customer billing address.

Signature​

apply_filters( 'fc_pro_order_details_customer_billing_address_label', $label, $order );

Parameters​

NameTypeDescription
$labelmixedLabel text.
$order\WC_OrderOrder object.

Since​

  • 2.0.1

Source: templates/fc-pro/order-details/order/order-details-customer.php

Examples​

add_filter( 'fc_pro_order_details_customer_billing_address_label',
/**
* Customize billing address label.
*
* @param mixed $label Label text.
* @param \WC_Order $order Order object.
* @return mixed Filtered value.
*/
function( $label, $order ) {
return __( 'Invoice Address', 'text-domain' );
},
10,
2
);