Title: Plugin Auto-Update Not Working
Last modified: August 13, 2020

---

# Plugin Auto-Update Not Working

 *  [kymkm](https://wordpress.org/support/users/kymkm/)
 * (@kymkm)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/plugin-auto-update-not-working/)
 * Hello. Yesterday, I set up auto-updates for all plugins and themes using this
   code:
 *     ```
       // Enable all plugin auto-updates.
       add_filter( 'auto_update_plugin', '__return_true' );
       // Enable all theme auto-updates.
       add_filter( 'auto_update_theme', '__return_true' );
       ```
   
 * Today, I logged into the site to find that I have a plugin that needs to be updated(
   I updated them all yesterday before setting this up so it’s a new update since
   then). The plugin says “Auto-updates enabled” next to it so I’m confused why 
   it hasn’t auto-updated. Is there anything else I need to do? Is there a delay
   in the auto-updating? Thanks for your help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-auto-update-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/plugin-auto-update-not-working/#post-13253264)
 * Review this article for instructions on enabling Plugin and themes auto-updates.
   Please note the referenced article does not mention anything about the snippets
   you are using!!!
 * > [Plugin and themes auto-updates](https://wordpress.org/support/article/plugins-themes-auto-updates/)
 *  Thread Starter [kymkm](https://wordpress.org/support/users/kymkm/)
 * (@kymkm)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/plugin-auto-update-not-working/#post-13253496)
 * Oh interesting. I got the code from the dev notes here: [https://make.wordpress.org/core/2020/07/15/controlling-plugin-and-theme-auto-updates-ui-in-wordpress-5-5/](https://make.wordpress.org/core/2020/07/15/controlling-plugin-and-theme-auto-updates-ui-in-wordpress-5-5/)
   but I can remove it and follow the instructions in that article instead.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Auto-Update Not Working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [kymkm](https://wordpress.org/support/users/kymkm/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/plugin-auto-update-not-working/#post-13253496)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
