apply_filters( 'allow_dev_auto_core_updates', bool $upgrade_dev , array $current , array $offered )
Filters whether to enable automatic core updates from prerelease versions.
Description
This filter is called if the current version is a pre-release, and the offered version is a newer pre-release of the same semver version, or the final release of the same semver version.
Parameters
- $upgrade_dev
-
Whether to enable automatic updates from prereleases.
- $current
-
The array of parts of the current version.
- $offered
-
The array of parts of the offered version.
Source
Changelog
Version | Description |
---|---|
1.0.0 | Version numbering scheme changed from WordPress to ClassicPress (semver). New parameters $current and $offered. |
WP-3.7.0 | Introduced. |