WordPress at Your Fingertips
function is not described

upgrade_370() WP 3.7.0

Execute changes made in WordPress 3.7.

No Hooks.

Return

null. Nothing.

Usage

upgrade_370();

Notes

  • Global. Int. $wp_current_db_version The old (current) database version.

Changelog

Since 3.7.0 Introduced.

Code of upgrade_370() WP 5.8.2

function upgrade_370() {
	global $wp_current_db_version;

	if ( $wp_current_db_version < 25824 ) {
		wp_clear_scheduled_hook( 'wp_auto_updates_maybe_update' );
	}
}