How To Disable Auto Updates

Updated: Jan 19, 2026
Version: 1.0
Owner: admin

This setup disables automatic WordPress core updates and prevents update notifications for selected plugins, giving full control over when and how updates are applied.


Step 1: Disable Core Auto Updates

  1. Open wp-config.php

  2. Add the code before /* That's all, stop editing! */


define( 'AUTOMATIC_UPDATER_DISABLED', true ); define( 'WP_AUTO_UPDATE_CORE', false );

Step 2: Disable Plugin & Theme Auto Updates (Dashboard)

  1. Go to Plugins → Installed Plugins

  2. Click Disable auto-updates for required plugins

  3. Do the same under Appearance → Themes


Step 3: Disable Updates for Specific Plugins (Code Method)

  1. Open functions.php (theme or child theme)

  2. Add the following code:


function AS_disable_plugin_updates( $value ) { $pluginsNotUpdatable = [ 'elementor/elementor.php', 'elementor-pro/elementor-pro.php', ]; if ( isset( $value ) && is_object( $value ) ) { foreach ( $pluginsNotUpdatable as $plugin ) { if ( isset( $value->response[ $plugin ] ) ) { unset( $value->response[ $plugin ] ); } } } return $value; } add_filter( 'site_transient_update_plugins', 'AS_disable_plugin_updates' );

Step 4: Verify

  1. Go to Dashboard → Updates

  2. Elementor update notifications will no longer appear