automatic_updates_complete
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 | Введена. |
Где вызывается хук
automatic_updates_complete
wp-admin/includes/class-wp-automatic-updater.php 618
do_action( 'automatic_updates_complete', $this->update_results );