WP_Upgrader $upgrader, array $hook_extra )
Fires when the upgrader process is complete.
See also ‘upgrader_package_options’.
Array of bulk item update data.
actionstringType of action. Default
typestringType of update process. Accepts
bulkboolWhether the update process is a bulk update. Default true.
pluginsarrayArray of the basename paths of the plugins' main files.
themesarrayThe theme slugs.
translationsarrayArray of translations update data.
languagestringThe locale the translation is for.
typestringType of translation. Accepts
slugstringText domain the translation is for. The slug of a theme/plugin or
'default'for core translations.
versionstringThe version of a theme, plugin, or core.
upgrader_process_completeaction hook is run when the download process for a plugin install or update finishes.
Use with caution: When you use the
upgrader_process_completeaction hook in your plugin and your plugin is the one which under upgrade, then this action will run the old version of your plugin.
wp-admin/includes/class-wp-upgrader.php. View all references
do_action( 'upgrader_process_complete', $this, $options['hook_extra'] );
Changelog Version Description 4.6.0
$translationswas added as a possible argument to
3.7.0 Added to WP_Upgrader::run(). 3.6.0 Introduced.