Woocommerce 数据库中的订单状态保存在哪里

Where is saved the order status in the database for Woocommerce

我知道这听起来很简单,但我已经研究了很多方法,只找到了更改订单状态的函数。我还查看了整个 wordpress 数据库,我没有找到 "status" 或 "processing"、"completed" 等术语。谁能告诉我 Woocommerce 是如何存储订单状态的?

订单状态已在 wp_post 数据库 table 中的 post_status 键下注册。

如果您想查看该商品是否已付款。转到 wp_postmeta 并检查值 _paid_date 是否存在于 meta_key 键中。