wp_maybe_auto_update action-hookWP 3.9.0

Fires during wp_cron, starting the auto-update process.

Usage

add_action( 'wp_maybe_auto_update', 'wp_kama_maybe_auto_update_action' );

/**
 * Function for `wp_maybe_auto_update` action-hook.
 * 
 * @return void
 */
function wp_kama_maybe_auto_update_action(){

	// action...
}

Changelog

Since 3.9.0 Introduced.

Where the hook is called

wp_version_check()
wp_maybe_auto_update
wp-includes/update.php 253
do_action( 'wp_maybe_auto_update' );

Where the hook is used in WordPress

wp-includes/update.php 977
add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );