automatic_updates_complete хук-событиеWP 3.8.0

Fires after all automatic updates have run.

Использование

add_action( 'automatic_updates_complete', 'wp_kama_automatic_updates_complete_action' );

/**
 * Function for `automatic_updates_complete` action-hook.
 * 
 * @param array $update_results The results of all attempted updates.
 *
 * @return void
 */
function wp_kama_automatic_updates_complete_action( $update_results ){

	// action...
}
$update_results(массив)
The results of all attempted updates.

Список изменений

С версии 3.8.0 Введена.

Где вызывается хук

WP_Automatic_Updater::run()
automatic_updates_complete
wp-admin/includes/class-wp-automatic-updater.php 618
do_action( 'automatic_updates_complete', $this->update_results );

Где используется хук в WordPress

Использование не найдено.