woocommerce_order_formatted_billing_address filter-hookWC 1.0

Get a formatted billing address for the order.

Usage

add_filter( 'woocommerce_order_formatted_billing_address', 'wp_kama_woocommerce_order_formatted_billing_address_filter', 10, 2 );

/**
 * Function for `woocommerce_order_formatted_billing_address` filter-hook.
 * 
 * @param string $empty_content Content to show if no address is present. @since 3.3.0.
 * @param        $that          
 *
 * @return string
 */
function wp_kama_woocommerce_order_formatted_billing_address_filter( $empty_content, $that ){

	// filter...
	return $empty_content;
}
$empty_content(string)
Content to show if no address is present. @since 3.3.0.
$that
-

Where the hook is called

WC_Order::get_formatted_billing_address()
woocommerce_order_formatted_billing_address
woocommerce/includes/class-wc-order.php 983
$raw_address = apply_filters( 'woocommerce_order_formatted_billing_address', $this->get_address( 'billing' ), $this );

Where the hook is used in WooCommerce

Usage not found.