wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



do_mu_upgrade › WordPress Filter Hooks

Dan/a
Deprecaton/a
› apply_filters( 'do_mu_upgrade', true )
Parametri:
  • () do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
    Richiesto: Sì
Definito a:
Codex:

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.




Sorgenti

if ( apply_filters( 'do_mu_upgrade', true ) ) {