Dev – wp_insert_post
-
This is a developer to developer question, probably more fit for github. I also coded a way to merge orders but I have been plagued by a bug on our live environment which I just can’t seem to fix: Sometimes merged orders are combined with random client orders.
When looking at your code to see if you maybe had a smart idea how to approach some things, I noticed that you commented out wc_create_order function and used wp_insert_post instead. Is there any reason for it?
Nothing else struck me as wildly different from how I did it…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dev – wp_insert_post’ is closed to new replies.