Skip to content

Commit 63f35ba

Browse files
committed
Document the event hook in wp-cron.php. see #25229.
git-svn-id: https://develop.svn.wordpress.org/trunk@25290 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 22278ec commit 63f35ba

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/wp-cron.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ function _get_cron_lock() {
8989

9090
wp_unschedule_event( $timestamp, $hook, $v['args'] );
9191

92+
/**
93+
* Fires scheduled events.
94+
*
95+
* @since 2.1.0
96+
*
97+
* @param string $hook Name of the hook that was scheduled to be fired.
98+
* @param array $v['args'] The arguments to be passed to the hook.
99+
*/
92100
do_action_ref_array( $hook, $v['args'] );
93101

94102
// If the hook ran too long and another cron process stole the lock, quit.

0 commit comments

Comments
 (0)