Un motore di ricerca WordPress per sviluppatori e autori di temi



automatic_updater_disabled ›

Da3.7.0
Deprecaton/a
apply_filters( 'automatic_updater_disabled', $disabled )
Parametri:
  • (bool) $disabled Whether the updater should be disabled.
    Richiesto:
Definito a:
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.





Sorgenti

return apply_filters( 'automatic_updater_disabled', $disabled );