Disable WordPress Automatic Updates

WordPress automatically updates minor versions. If you prefer to control updates manually, add the code. For more on disabling automatic updates.

define( 'AUTOMATIC_UPDATER_DISABLED', true );
add_filter( 'auto_update_core', '__return_false' );
add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );

Add lines 2-4 to functions.php. Add line 1 to wp-config.php.

Discussion
[  0 Comments  ]

Leave a Comment

To add code, use the buttons below. For instance, click the PHP button to insert PHP code within the shortcode. If you notice any typos, please let us know!