Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: automatic_updates_complete

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
2804                     $this->after_core_update( $this->update_results['core'][0] );
2805
2806                /**
2807                 * Fires after all automatic updates have run.
2808                 *
2809                 * @since 3.8.0
2810                 *
2811                 * @param array $update_results The results of all attempted updates.
2812                 */
2813                do_action( 'automatic_updates_complete', $this->update_results );
2814           }
2815
2816           // Clear the lock
2817           delete_option( $lock_name );
2818      }
2819
2820      /**
2821       * If we tried to perform a core update, check if we should send an email,
2822       * and if we need to avoid processing future updates.