woocommerce_order_formatted_billing_address

woocommerce_order_formatted_billing_address

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_formatted_billing_address') is found 1 times:

  • /includes/class-wc-order.php line 983
    	 * @param string $empty_content Content to show if no address is present. @since 3.3.0.
    	 * @return string
    	 */
    	public function get_formatted_billing_address( $empty_content = '' ) {
    		$raw_address = apply_filters( 'woocommerce_order_formatted_billing_address', $this->get_address( 'billing' ), $this );
    		$address     = WC()->countries->get_formatted_address( $raw_address );
    
    		/**
    		 * Filter orders formatted billing address.
    		 *
    		 * @since 3.8.0