do_mu_upgrade

do_mu_upgrade

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('do_mu_upgrade') is found 1 times:

  • /wp-admin/admin.php line 73
    	 * @since MU (3.0.0)
    	 *
    	 * @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
    	 */
    	if ( apply_filters( 'do_mu_upgrade', true ) ) {
    		$c = get_blog_count();
    
    		/*
    		 * If there are 50 or fewer sites, run every time. Otherwise, throttle to reduce load:
    		 * attempt to do no more than threshold value, with some +/- allowed.
    		 */