apply_filters( 'allow_dev_auto_core_updates', bool $upgrade_dev )
- Since
- 3.7.0
Filters whether to enable automatic core updates for development versions.
Compatibility
- WordPress
- since 3.7.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$upgrade_devbool- Whether to enable automatic updates for development versions.
Where this hook fires · 3
wp-admin/includes/class-core-upgrader.php:357Core_Upgrader::should_update_to_version()wp-admin/includes/class-wp-site-health-auto-updates.php:433WP_Site_Health_Auto_Updates::test_accepts_dev_updates()wp-admin/update-core.php:383core_auto_updates_settings()
Source code
* * @since 3.7.0 * * @param bool $upgrade_dev Whether to enable automatic updates for * development versions. */ if ( ! apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev ) ) { return false; } // Else fall through to minor + major branches below. } // 4: Minor in-branch updates (3.7.0 -> 3.7.1 -> 3.7.2 -> 3.7.4).Changelog
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.