I m looking for a way to count all woocommerce orders that the status is "processing".
I looked for woocommerce_payment_complete/status hooks but cant figure out how to make a counter.
I need to add to my Woocomerce emails a new number/orderNumber that is not the normal woo order number but the new number that is the count of the complete payment
(example:
order:1, payment number :1
order:2, no payment
order:3, payment number:2
...
)
can anyone point me in a direction where I can start?
question from:
https://stackoverflow.com/questions/65939501/get-all-woocommerce-payment-status-is-processing 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…