Wednesday 15 February 2012

woocommerce - Pull order data from WC_order -



woocommerce - Pull order data from WC_order -

i've seen things like:

$order = new wc_order( $order_id );

$email = $order->billing_email;

but can find list of of attributes can pull order? i've been searching seems forever, scouring documentation , cannot find seemingly simple answer. want able pull various pieces of info order.

woocommerce

No comments:

Post a Comment