W3cubDocs

/WordPress

do_action( 'wp_upgrade', int $wp_db_version, int $wp_current_db_version )

Fires after a site is fully upgraded.

Parameters

$wp_db_version

(int) The new $wp_db_version.

$wp_current_db_version

(int) The old (current) $wp_db_version.

Source

File: wp-admin/includes/upgrade.php

View on Trac

Changelog

Version Description
3.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_upgrade