Directory

wp_upgrade – Hook | Developer.WordPress.org

do_action( ‘wp_upgrade’, int $wp_db_version, int $wp_current_db_version )

In this article

Fires after a site is fully upgraded.

Parameters

$wp_db_versionint
The new $wp_db_version.
$wp_current_db_versionint
The old (current) $wp_db_version.

Source

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

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.