apply_filters( 'do_mu_upgrade', bool $do_mu_upgrade )

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

Description Description

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.

Top ↑

Parameters Parameters


(bool) Whether to perform the Multisite upgrade routine. Default true.

Top ↑

Source Source

File: wp-admin/admin.php

View on Trac

Top ↑

Changelog Changelog

Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.