Can a scheduler be set on submit of a form in wordpress?
It’s wrong to execute wp_schedule_event in plugin activation and cronjob tag. The correct tag to hook is wp. WordPress internal cron system works by “request-response” method, it checks for scheduled events immediately after any request to the whole system, after checking the scheduled events, it loads next parts of the system. So, hooking scheduling to … Read more