apply_filters( ‘allow_major_auto_core_updates’, bool $upgrade_major )

In this article

Filters whether to enable major automatic core updates.

Parameters

$upgrade_majorbool
Whether to enable major automatic core updates.

Source

return apply_filters( 'allow_major_auto_core_updates', $upgrade_major );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.