Are hooks called when creating an order from the backend, and not checkout? [closed]
I am trying to add order meta to each new order created. I created a staging site, added the plugin, and created a test order from the backend. However, I can’t get any hook I use to work. The hooks I have tried are
I tested to make sure the plugin itself is working correctly by adding a log file, which is working. I added a function with add action to those hooks, with the content simply logging a single line to a file, which did not work.