wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
do_mu_upgrade › Hooks de Filtros WordPress
Desden/a
Obsoleton/a
› apply_filters( 'do_mu_upgrade', true )
| Parâmetros: |
|
| Definido em: |
|
| 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.Funções relacionadas: do_core_upgrade, wp_upgrade, pre_schema_upgrade, do_signup_header, remove_menu_page, core_upgrade_preamble
Hooks relacionados: after_mu_upgrade, wp_upgrade, wpmu_upgrade_page, wpmu_upgrade_site, after_db_upgrade