diff --git a/wp-cron.php b/wp-cron.php index 21706cbaf2..37d07e8305 100644 --- a/wp-cron.php +++ b/wp-cron.php @@ -89,6 +89,14 @@ foreach ( $crons as $timestamp => $cronhooks ) { wp_unschedule_event( $timestamp, $hook, $v['args'] ); + /** + * Fires scheduled events. + * + * @since 2.1.0 + * + * @param string $hook Name of the hook that was scheduled to be fired. + * @param array $v['args'] The arguments to be passed to the hook. + */ do_action_ref_array( $hook, $v['args'] ); // If the hook ran too long and another cron process stole the lock, quit.