woocommerce_order_formatted_shipping_address
Usage
add_filter( 'woocommerce_order_formatted_shipping_address', 'wp_kama_woocommerce_order_formatted_shipping_address_filter', 10, 2 ); /** * Function for `woocommerce_order_formatted_shipping_address` filter-hook. * * @param $raw_address * @param $that * * @return */ function wp_kama_woocommerce_order_formatted_shipping_address_filter( $raw_address, $that ){ // filter... return $raw_address; }
- $raw_address
- -
- $that
- -
Where the hook is called
woocommerce_order_formatted_shipping_address
woocommerce/includes/class-wc-order.php 1008
$raw_address = apply_filters( 'woocommerce_order_formatted_shipping_address', $raw_address, $this );