wp_upgrade

wp_upgrade

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('wp_upgrade') is found 1 times:

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

See this hook used in plugins: