wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



automatic_updater_disabled › Hooks de Filtros WordPress

Desde3.7.0
Obsoleton/a
› apply_filters( 'automatic_updater_disabled', $disabled )
Parâmetros:
  • () disabled Whether the updater should be disabled.
    Required: Yes
Definido em:
Codex:

Filters whether to entirely disable background updates.

There are more fine-grained filters and controls for selective disabling. This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name. This also disables update notification emails. That may change in the future.




Fonte

return apply_filters( 'automatic_updater_disabled', $disabled );