plugins_auto_update_enabled WordPress Filter Hook
The plugins_auto_update_enabled hook is used to set whether or not auto-updating is enabled for plugins. This hook is called when the auto-updates settings page is loaded, and takes a boolean value as its only parameter. If this value is set to true, auto-updating will be enabled for plugins; if it is set to false, auto-updating will be disabled.
apply_filters( 'plugins_auto_update_enabled', bool $enabled ) #
Filters whether plugins auto-update is enabled.
Parameters
- $enabled
(bool)True if plugins auto-update is enabled, false otherwise.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |