Opened 8 months ago
Closed 8 months ago
#22143 closed enhancement (duplicate)
Generic action for cron events
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cron | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | batmoo |
Description
It would be nice to have a generic action in wp-cron.php to allow plugins to hook into cron processing without knowing names of specific registered cron actions, e.g. a plugin that logs all executed cron events.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.

Patch adds a new action (did_cron), which is executed after the actual cron event and passes in the hook, timestamp, and arguments for the cron event.