woocommerce_order_get_formatted_billing_address хук-фильтр . WC 3.8.0
Filter orders formatterd billing address.
Использование
add_filter( 'woocommerce_order_get_formatted_billing_address', 'filter_function_name_6846', 10, 3 ); function filter_function_name_6846( $address, $raw_address, $order ){ // filter... return $address; }
- $address(строка)
- Formatted billing address string.
- $raw_address(массив)
- Raw billing address.
- $order(WC_Order)
- Order data. @since 3.9.0
Список изменений
С версии 3.8.0 | Введена. |
Где вызывается хук
woocommerce_order_get_formatted_billing_address
woocommerce/includes/class-wc-order.php 917
return apply_filters( 'woocommerce_order_get_formatted_billing_address', $address ? $address : $empty_content, $raw_address, $this );