Method | Description | |
---|---|---|
automatic_updates_complete ( $results ) | On completion of an automatic update, let's store the results. | |
autoupdate_core ( $update, $item ) | ||
autoupdate_plugin ( $update, $item ) | ||
autoupdate_theme ( $update, $item ) | ||
autoupdate_translation ( $update, $item ) | ||
bump_stats ( ) | ||
get_log ( ) | ||
get_plugin_slug ( $plugin_file ) | ||
get_possible_failures ( ) | ||
init ( ) |
Method | Description | |
---|---|---|
__construct ( ) | ||
expect ( string $item, string $type ) | Stores the an item identifier to the expected array. | |
get_successful_updates ( string $type ) : array | Parses the autoupdate results generated by WP_Automatic_Updater and returns a simple array of successful items | |
log_items ( $items ) | Iterates through expected items ( plugins or themes ) and compares them to actual results. |
public automatic_updates_complete ( $results ) | ||
$results | - Sent by WP_Automatic_Updater after it completes an autoupdate action. Results may be empty. |