allow_dev_auto_core_updates WordPress Filter Hook

The allow_dev_auto_core_updates hook is used to determine whether or not to allow WordPress to automatically update itself to new development versions. This hook is used by the wp_allow_auto_update() function.

apply_filters( 'allow_dev_auto_core_updates', bool $upgrade_dev ) #

Filters whether to enable automatic core updates for development versions.


Parameters

$upgrade_dev

(bool)Whether to enable automatic updates for development versions.


Top ↑

Source

File: wp-admin/includes/class-core-upgrader.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.