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

Deleting post revisions from the WordPress database

One of the great features the WordPress added in was post revisions. Any changes made to posts...

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 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 embed a Facebook status in a WordPress post?

Facebook now allows you to embed a status update anywhere you want online. One popular place to...