allow_minor_auto_core_updates WordPress Filter Hook
The allow_minor_auto_core_updates hook is used to determine whether or not WordPress should automatically update to new minor versions when they are released. This hook is called during the WordPress version check process. If this hook returns true, then WordPress will update to the new minor version. If this hook returns false, then WordPress will not update to the new minor version.
apply_filters( 'allow_minor_auto_core_updates', bool $upgrade_minor ) #
Filters whether to enable minor automatic core updates.
Parameters
- $upgrade_minor
(bool)Whether to enable minor automatic core updates.
Source
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |