wphooks.info - wp_upgrade

wp_upgrade

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/upgrade.php:
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
		}

		/**
		 * Fires after a site is fully upgraded.
		 *
		 * @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.
 *
 * Contains conditional checks to determine which upgrade scripts to run,
 * based on database version and WP version being updated-to.
 *