Added standard WordPress cron constant
Improved where for date range
Merge branch 'master' into production