WordPress at a glance
filter is not described

do_mu_upgrade filter-hook . WP 3.0.0

Filters whether to attempt to perform the multisite DB upgrade routine.

In single site, the user would be redirected to wp-admin/upgrade.php. In multisite, the DB upgrade routine is automatically fired, but only when this filter returns true.

If the network is 50 sites or less, it will run every time. Otherwise, it will throttle itself to reduce load.


add_filter( 'do_mu_upgrade', 'filter_function_name_480' );
function filter_function_name_480( $do_mu_upgrade ){
	// filter...

	return $do_mu_upgrade;
Whether to perform the Multisite upgrade routine.
Default: true


Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-admin/admin.php
wp-admin/admin.php 68
if ( apply_filters( 'do_mu_upgrade', true ) ) {

Where in WP core the hook is used

Usage not found!