woocommerce_get_order_address

woocommerce_get_order_address

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_get_order_address') is found 1 times:

  • /includes/class-wc-order.php line 937
    		 * @since 2.4.0
    		 * @param array  $address_data The raw address data merged with the data from get_prop.
    		 * @param string $address_type Type of address; 'billing' or 'shipping'.
    		 */
    		return apply_filters( 'woocommerce_get_order_address', array_merge( $this->data[ $address_type ], $this->get_prop( $address_type, 'view' ) ), $address_type, $this );
    	}
    
    	/**
    	 * Get a formatted shipping address for the order.
    	 *
    	 * @return string