W3cubDocs

/WordPress

apply_filters( 'allow_major_auto_core_updates', bool $upgrade_major )

Filters whether to enable major automatic core updates.

Parameters

$upgrade_major

(bool) Whether to enable major automatic core updates.

Source

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

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allow_major_auto_core_updates