1

I am using "Send an Email notification to the admin for pending order status in WooCommerce" answer code to send a customized email notification on pending order status.

How can I delay this email notifications send by the function for 20 minutes?

So the email should be sent after the delay of 20 minutes.

I have tried tried to put the sleep function but it is not convenient.

Any help is appreciated.

LoicTheAztec
  • 229,944
  • 23
  • 356
  • 399
  • 1
    When using some code picked on StackOverFlow, always add the link in your question. If you don't make real changes to the code, the link is just enough. – LoicTheAztec May 23 '19 at 15:33
  • yeah, next time I will take care of that. can you please help me out with this. you wrote this piece of code can you please help me out to put a delay of 20 minutes? – Hanzla Ramey May 23 '19 at 15:36

0 Answers0