Fires after a site is fully upgraded.
$wp_db_versionint$wp_current_db_versionintwp-admin/includes/upgrade.php:699wp_upgrade() * * @since 3.9.0 * * @param int $wp_db_version The new $wp_db_version. * @param int $wp_current_db_version The old (current) $wp_db_version. */ do_action( 'wp_upgrade', $wp_db_version, $wp_current_db_version ); }endif; /** * Functions to be called in installation and upgrade scripts. *Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.