mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
Document the event hook in wp-cron.php. see #25229.
Built from https://develop.svn.wordpress.org/trunk@25290 git-svn-id: http://core.svn.wordpress.org/trunk@25254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d7cc1f506a
commit
4079183e42
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user