Docs: Add documentation for the `wp_maybe_auto_update` action.

Props MikeGillihan.
Fixes #43301.



git-svn-id: https://develop.svn.wordpress.org/trunk@44609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-16 03:37:38 +00:00
parent c2862a404e
commit efcc69ed84
1 changed files with 5 additions and 0 deletions

View File

@ -232,6 +232,11 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
// Trigger background updates if running non-interactively, and we weren't called from the update handler.
if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) {
/**
* Fires during wp_cron, starting the auto update process.
*
* @since 3.9.0
*/
do_action( 'wp_maybe_auto_update' );
}
}