How do I have WordPress update plugins and themes automatically?

WordPress will automatically apply minor release updates to your site, so you can be sure you're always up to date and reduce the chance of vulnerabilities. By default, WordPress only applies minor releases. It can also be configured to apply major release updates as well.

But what if you want to update your themes and plugins, too? Fortunately, WordPress has made that just as easy.

All you need to do it edit your theme's functions.php file and add the following lines

add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );


The first line keeps plugins updated and the second works on your themes.
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the admin color scheme in WordPress 3.8

We're big fans of the new admin layout in WordPress 3.8. One complaint we've seen going around...

How do I disable automatic updating in WordPress?

One of the many features added to WordPress in 3.7 was automatically updating for minor releases....

Prevent unauthorized WordPress wp-admin and wp-login.php attempts

 01.  Login in to cPanel  02. Click Directory Privacy  03. Click the folder icon next to...

How do I get Google Maps into my WordPress site?

If you need to display address information anywhere on a WordPress site, like if you have a brick...