wp_upgrade, $wp_db_version, $wp_current_db_version

wp_upgrade, $wp_db_version, $wp_current_db_version

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('wp_upgrade, $wp_db_version, $wp_current_db_version') is found 1 times:

  • /wp-admin/includes/upgrade.php line 699
    		 *
    		 * @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.
     *