How to Set up Auto-Update for your WordPress Website
WordPress plugins are regularly updated by their respective developers to patch some security vulnerabilities or enhance the functionalities of the plugins.
However, as a WordPress site owner, it is very important to ensure all your WordPress plugins are kept updated in order not to expose your website to attacks. When a WordPress website is left unmanaged, the themes, plugins and even the WordPress core goes outdated. This, in turn, will make such a website vulnerable.
It is quite understandable that some websites are not regularly changed unlike blogs and news websites so for this reason, it is quite advisable to set up auto-update.
There are many ways to set this up but I will emphasize more on the cheapest way.
Using WordPress Jetpack Plugin
One of the features of the JetPack Pugin is auto-update. You can set up your plugins to automatically update from the jet pack setting. All you got to do
1. Install the JetPack Plugin
2. Connect your website to from the Jetpack page
3. Then Click Choose which plugins to auto-update
3. Click EDIT ALL
4. Click AUTUPDATE
After this process, your WordPress plugins will auto-update even when you are not online.
By editing the function.php file in your WordPress direction, you can turn on automatic update for all plugins and themes. Simply add the following codes to your function.php file
add_filter( 'auto_update_plugin', '__return_true');
This filter tells WordPress automatic updater to automatically install plugin updates when they’re available.
If you also want to automatically update your themes, then you can add another code like this:
add_filter( 'auto_update_theme', '__return_true' );
There are some security plugins that also enables automatic update for WordPress plugins, themes and WordPress core. But the downside is most of these plugins are paid plugins.
The following are examples of plugins you can use to auto-update your site;
1. iTheme Security (Paid)
2. Auto Updater (Free)
3. Automatic Plugin Updates (Free)
With the automatic update successfully turned on, you can rest assured that your site will be regularly updated and protect from vulnerability attacks.