Title: Plugin automatic updates
Last modified: May 3, 2018

---

# Plugin automatic updates

 *  [Mauricio Lopez Coria](https://wordpress.org/support/users/damonh/)
 * (@damonh)
 * [8 years ago](https://wordpress.org/support/topic/plugin-automatic-updates/)
 * Hello!
    Sorry for my dumb question, but maybe someone can help me anyway 😉
 * I added: `add_filter( 'auto_update_theme', '__return_true' );` on functions.php
   file of the active theme directory, but Jetpack plugin is still telling me it
   has an update available. What am I doing wrong? Why isn’t this code executing
   or when will it be executed?
 * Thank you in advance.
 * Damon H.

Viewing 1 replies (of 1 total)

 *  [anurag.deshmukh](https://wordpress.org/support/users/anuragdeshmukh/)
 * (@anuragdeshmukh)
 * [8 years ago](https://wordpress.org/support/topic/plugin-automatic-updates/#post-10241732)
 *     ```
       add_filter( 'auto_update_theme', '__return_true' );
       ```
   
 * Above filter automatically updates all themes. In order to update plugins automatically,
   you need to add another filter.
 *     ```
       add_filter( 'auto_update_plugin', '__return_true' );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Plugin automatic updates’ is closed to new replies.

## Tags

 * [automatic update](https://wordpress.org/support/topic-tag/automatic-update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [anurag.deshmukh](https://wordpress.org/support/users/anuragdeshmukh/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/plugin-automatic-updates/#post-10241732)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
