WordPress post_content gets deleted in cron after wp_update_post
WooCommerce stock quantity update by using
wc_update_product_stock( $postId, $quantity )
used to remove post_content, so I put quantity update before the post_content update.
WooCommerce stock quantity update by using
wc_update_product_stock( $postId, $quantity )
used to remove post_content, so I put quantity update before the post_content update.