Code to Enable Only Minor Automatic Updates in WordPress

/* Allow WordPress Minor Updates Only */
define( 'WP_AUTO_UPDATE_CORE', minor);

Minor updates are generally comprised of security patches and stability updates. In 99.99% of the cases, minor updates won’t break the site. You can keep them enabled.

So, let us first know the difference between minor and major updates in WordPress with an example. 5.8 is Major update. Any minor updates to that version like 5.8.3 is Minor update.

To Disable updates in WordPress, add this code to your wp-config.php file.