WooCommerce aktualizacja_status () e -mail


// Change order status
wp_update_post(['ID' => $value->post_id, 'post_status' => 'wc-'.$wooOrderStatus]);
Gifted Gannet