Filter hook 'do_mu_upgrade'
in WP Core File wp-admin/admin.php at line 73
Description
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.
Occurrences
Filename |
Line Number |
wp-admin/admin.php |
73 |
Parameters
Type |
Name |
Description |
bool |
$do_mu_upgrade |
Whether to perform the Multisite upgrade routine. Default true. |
PHP Doc
/**
* 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.
*
* @since MU (3.0.0)
*
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
*/