How to setup WordPress cron job to send email to admin every hour?

WordPress cron will not run if site is idle.
Point to keep in mind:

A. Define a cron job interval
B. Schedule an event unless already scheduled
C. Trigger email when hook runs as per requirement

Leave a Comment

Your email address will not be published. Required fields are marked *