Opened 8 months ago

Closed 8 months ago

#22143 closed enhancement (duplicate)

Generic action for cron events

Reported by: batmoo 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)

22143.diff (455 bytes) - added by batmoo 8 months ago.

Download all attachments as: .zip

Change History (3)

batmoo8 months ago

  • Keywords has-patch added

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.

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #18471.

Note: See TracTickets for help on using tickets.