• tomheather

    (@tomheather)


    I am building a WooCommerce plugin which sends orders to a 3rd party api.However i have found there not to be a way to get the individual fields/properties of the order shipping address since v2.3. The only function available is get_formatted_shipping_address() which returns a string and it seems the function which returns a address array “get_shipping_address()” has been Deprecated in version 2.3.

    Does anyone know a way to get the shipping address as an array for an order? i don’t really want to resort to using a old version of WooCommerce…perhaps there is a hook, action or class override i can do to achieve this?

    Any ideas welcome.

    http://stackoverflow.com/questions/29378859/woocommerce-get-order-shipping-address-as-seperate-feilds

    https://wordpress.org/plugins/woocommerce/

  • The topic ‘Individual Shipping Address Properties’ is closed to new replies.