Add due date from order meta
-
Hi,
I’d like to add the due date to my invoices.
I got a script to calculate the date, but I can’t find any hook to run it. I need it :- Working in back and front office.
- After order is created (back / front) or saved (back)
- Before the PDF is created
I tried
woocommerce_order_status_changed
, the order meta is in the database but the field in the PDF is empty (looks like the hook runs after you’re plugin action).Do you have any hook I can use who is run before you create the PDF?
Thank you very much.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add due date from order meta’ is closed to new replies.