wp_upgrade

SummerySummery

Fires after a site is fully upgraded.

Syntax

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

ParametersParameters

$wp_db_version

(int) The new $wp_db_version.

$wp_current_db_version

(int) The old (current) $wp_db_version.

SourceSource

File: wp-admin/includes/upgrade.php

ChangelogChangelog

Changelog
Version Description
3.9.0 Introduced.
Scroll to Top