order-> get_status(); return $from_address; }
... badge○66 bronze badges. Add a comment |. Up vote 1 Down vote. Correct way to get status is via get_status method: $order->get_status();.
These are regular WooCommerce orders, which extend the abstract order
File name: woocommerce/includes/abstracts/abstract-wc-order.php. Lines: 1 to 9 of 9. public function get_status( $context = 'view' ) { $status ...
Order statuses in template files (ie view-order.php) showing slug instead of status label. This: wc_get_order_status_name( $order->get_status() ...
TODO: Change nonce_action to `woocommerce-mark-order-status` for 2.3.x ...
In that scenario, you can “get” the order object with the wc_get_order WooCommerce function. It's also possible to gain $order information if you ...
get_status(); if ('cancelled' ...
Overview ↑ Back to top. WooCommerce includes several core order statuses, but these may not fit the workflow for every eCommerce shop. WooCommerce ...
php file it says: echo wc_get_order_status_name( $order->get_status() );. maybe that helps... January 26, 2015 at 9:57 am ...