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 all references
return apply_filters( 'allow_major_auto_core_updates', $upgrade_major );
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |