detect wp cron as initiator