automatic_updates_complete
Fires after all automatic updates have run.
Usage
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(array)
- The results of all attempted updates.
Changelog
Since 3.8.0 | Introduced. |
Where the hook is called
automatic_updates_complete
wp-admin/includes/class-wp-automatic-updater.php 783
do_action( 'automatic_updates_complete', $this->update_results );