Welcome to therichpost.com. In this post, I will tell you, How to disable automatic updates in wordpress? Like I always say WordPress is the best cms.
Here is working code to stop automatic updates in wordpress and you need to add this into wp-config.php file:
//To disable automatic updates for major releases or development purposes, the place to start is with the WP_AUTO_UPDATE_CORE constant. Defining this constant one of three ways allows you to blanket-enable, or blanket-disable several types of core updates at once. define( 'WP_AUTO_UPDATE_CORE', false); //To completely disable all types of automatic updates, core or otherwise, add the following to your wp-config.php file: define( 'AUTOMATIC_UPDATER_DISABLED', true );