Cavalcade
Cavalcade copied to clipboard
CAVALCADE_JOB_ID and DOING_CRON constants are defined at a very advanced stage of execution
Hey, this is Luca from FFX. Our paths cross again =)
I can see both CAVALCADE_JOB_ID and DOING_CRON constants are defined in Command::run() just before the actual execution of the scheduled hook.
That means I cannot access them during, say, any init or admin_init hook.
I can confirm DOING_CRON not being set (yet) caused problems for my plugin as well.