wp_next_scheduled() returns timestamp, not scheduled time
When I call wp_next_scheduled() instead of getting the timestamp plus the recurrance interval, the function appears to just return the timestamp. The timestamp is the value set by the wp_schedule_event() method and is the UNIX timestamp of when the event was scheduled. Since wp_next_scheduled() is supposed to: “Returns the next timestamp for a cron event.” shouldn’t return the timestamp + recurrence interval value?
- The topic ‘wp_next_scheduled() returns timestamp, not scheduled time’ is closed to new replies.