allow_minor_auto_core_updates WordPress Filter Hook

The allow_minor_auto_core_updates hook is used to determine whether or not WordPress should automatically update to new minor versions when they are released. This hook is called during the WordPress version check process. If this hook returns true, then WordPress will update to the new minor version. If this hook returns false, then WordPress will not update to the new minor version.

apply_filters( 'allow_minor_auto_core_updates', bool $upgrade_minor ) #

Filters whether to enable minor automatic core updates.


Parameters

$upgrade_minor

(bool)Whether to enable minor automatic core updates.


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.