On this page
apply_filters( 'allow_dev_auto_core_updates', bool $upgrade_dev )
Filters whether to enable automatic core updates for development versions.
Parameters
$upgrade_devbool-
Whether to enable automatic updates for development versions.
Source
File: wp-admin/includes/class-core-upgrader.php. View all references
if ( ! apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev ) ) {
Related
Used By
| Used By | Description |
|---|---|
| core_auto_updates_settings() wp-admin/update-core.php | Display WordPress auto-updates settings. |
| WP_Site_Health_Auto_Updates::test_accepts_dev_updates() wp-admin/includes/class-wp-site-health-auto-updates.php | Checks if the install is using a development branch and can use nightly packages. |
| 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_dev_auto_core_updates