On this page
apply_filters( 'allow_major_auto_core_updates', bool $upgrade_major )
Filters whether to enable major automatic core updates.
Parameters
$upgrade_majorbool-
Whether to enable major automatic core updates.
Source
File: wp-admin/includes/class-core-upgrader.php. View all references
return apply_filters( 'allow_major_auto_core_updates', $upgrade_major );
Related
Used By
| Used By | Description |
|---|---|
| core_auto_updates_settings() wp-admin/update-core.php | Display WordPress auto-updates settings. |
| Core_Upgrader::should_update_to_version() wp-admin/includes/class-core-upgrader.php | Determines if this WordPress Core version should update to an offered version or not. |
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allow_major_auto_core_updates