Automatic WordPress Plugin and Theme Updates

With the release of WordPress 3.7 you now can have your plugins and/or themes update happen behind the scenes.

To enable automatic updates for plugins, use the following:


add_filter( 'auto_update_plugin', '__return_true' );

To enable automatic updates for themes, use the following:


add_filter( 'auto_update_theme', '__return_true' );

More infomation available on the WordPress Codex

Want to become a better web developer?

Join over 20,000 other developer & designers who get awesome links to the best news and articles each week delivered directly to their inbox.

This post currently has no responses. What do you think?

You can use basic HTML when posting code, please turn all < characters into &lt; or > into &gt;
If the code is multi-line, use <pre><code></code></pre>

Leave a Reply

Your email address will not be published. Required fields are marked *