automatic_updates_complete хук-событие . WP 3.8.0
Fires after all automatic updates have run.
Использование
add_action( 'automatic_updates_complete', 'action_function_name_7241' ); function action_function_name_7241( $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 549
do_action( 'automatic_updates_complete', $this->update_results );