wp_schedule_event will it run if timestamp has passed?

Yes, the event will trigger when the wp-cron process gets run. If something is preventing wp-cron from running, then it won’t trigger at all. If you’re having it not work, then something about your server configuration is preventing it from working.

For these cases, you can generally work around them by adding this define to your wp-config file:

define('ALTERNATE_WP_CRON', true);

Leave a Comment