automatic_updates_complete

Fires after all automatic updates have run.

Description

add_action( 'automatic_updates_complete', (callback) $array, (int) $int, (int) $int ); 

Parameters (3)

0. $array (callback) => array( $this, 'automatic_updates_complete' )
The array.
1. $int (int) => 999
The int.
2. $int (int) => 1
The int.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'automatic_updates_complete', $array, $int, $int ); 
The following example is for adding a hook callback.
  1. // define the automatic_updates_complete callback 
  2. function action_automatic_updates_complete( $array, $int, $int ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'automatic_updates_complete', 'action_automatic_updates_complete', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'automatic_updates_complete', 'action_automatic_updates_complete', 10, 3 ); 

Defined (3)

The action is defined in the following location(s).

/class.jetpack-autoupdate.php  
  1. add_action( 'automatic_updates_complete', array( $this, 'automatic_updates_complete' ), 999, 1 ); 
/json-endpoints/jetpack/class.jetpack-json-api-maybe-auto-update-endpoint.php  
  1. add_action( 'automatic_updates_complete', array( $this, 'get_update_results' ), 100, 1 ); 
/sync/class.jetpack-sync-module-updates.php  
  1. add_action( 'automatic_updates_complete', $callable );