Answer the question
In order to leave comments, you need to log in
How to place an order in Woocommerce via wp_insert_post()?
Hey, I've looked all over the internet and haven't found an answer to my question.
There are forms, for example CF7, I intercept fields from it into variables in functions.php
How is it possible to create a new order in Wocommerce through, for example, wp_insert_post ().
Answer the question
In order to leave comments, you need to log in
They dug badly, or don’t know how to dig in English: the very first site from the search query "programmatically creating new order in woocommerce":
https://stackoverflow.com/questions/36729701/progr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question