# Disable WordPress Core, Plugin and Theme Updates

**URL:** <https://forums.managingwp.io/t/disable-wordpress-core-plugin-and-theme-updates/263>\
**Category:** WordPress Code Snippets\
**Created:** [February 5, 2024, 6:43pm UTC](https://forums.managingwp.io/t/disable-wordpress-core-plugin-and-theme-updates/263 "2024-02-05T18:43:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtrask](https://forums.managingwp.io/user_avatar/forums.managingwp.io/jtrask/32/3_2.png) [@jtrask](https://forums.managingwp.io/u/jtrask)\
**Post date:** [February 5, 2024, 6:43pm UTC](https://forums.managingwp.io/t/disable-wordpress-core-plugin-and-theme-updates/263/1 "2024-02-05T18:43:14Z")

</div>

To stop automatic updates in WordPress, you can approach it in a few different ways depending on what specifically you want to prevent from updating automatically (WordPress core, plugins, themes). Here’s how to manage each type:

### 1. Disable All Automatic Updates

To completely disable all types of automatic updates, core, plugins, and themes, add the following line of code to your `wp-config.php` file:

```auto
define( 'AUTOMATIC_UPDATER_DISABLED', true );

```

### 2. Disable Core Updates

WordPress core updates can be specifically controlled. To disable all core updates, including minor and major, add the following to your `wp-config.php` file:

```auto
define( 'WP_AUTO_UPDATE_CORE', false );

```

### 3. Disable Theme and Plugin Updates

Disabling automatic updates for themes and plugins can’t be done directly through the `wp-config.php` file but can be managed through filters in your theme’s `functions.php` file or a site-specific plugin.

#### Disable Plugin Updates:

```auto
add_filter( 'auto_update_plugin', '__return_false' );

```

#### Disable Theme Updates:

```auto
add_filter( 'auto_update_theme', '__return_false' );

```
