wphooks.info - automatic_updates_complete

automatic_updates_complete

The hook occurs in the following file:

wp-admin/includes/class-wp-automatic-updater.php:
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
			if ( ! empty( $this->update_results['core'] ) )
				$this->after_core_update( $this->update_results['core'][0] );

			/**
			 * Fires after all automatic updates have run.
			 *
			 * @since 3.8.0
			 *
			 * @param array $update_results The results of all attempted updates.
			 */
			do_action( 'automatic_updates_complete', $this->update_results );
		}

		WP_Upgrader::release_lock( 'auto_updater' );
	}

	/**
	 * If we tried to perform a core update, check if we should send an email,
	 * and if we need to avoid processing future updates.
	 *