How to keep your WordPress site updated is fairly simple. Core files, Plugins, and themes can be easily update whenever a new version is available. WordPress comes with a built-in update notification system. It highlights the number of available updates when you log into your WordPress dashboard.
WordPress updates screen
All you need to do is visit Dashboard » Updates page and install those updates. This is a one-click process.
However since many website owners do not login to their WordPress dashboard daily, they may not even know that there is an update available for days. Thankfully, you have a few options.
If you’re using WordPress 5.4 or above, then automatic updates are turned on for minor releases (which are reserved for security and bugfixes). You can turn on automatic updates for major releases, plugins as well as themes.
Alternatively, you can get email notifications when there is a new update for your WordPress site.
Get Email Notifications for Updates in WordPress
When you’re busy running your business, logging into your site to check for updates is usually the last thing on your mind. Wouldn’t it be easier if you could get an email notification whenever there is an update on your WordPress sites?
Well that’s possible.
#1. First thing you need to do is install and activate the WP Updates Notifier plugin. Upon activation, visit Settings » Updates Notifier to configure the plugin settings.
This plugin uses WordPress cron to check your site for updates every hour. You can change that to once or twice daily. When there is a new update available, this plugin will send you an email notification.
By default it checks for WordPress core update, plugin updates, and theme updates. All you need to do is click on save settings with test email button.
If you do not recieve the test email from the plugin, then check out our guide on how to fix WordPress not sending email issue.
#2. Auto Install WordPress Updates
You can automate the process even further. WordPress allows you to enable automatic updates for major releases, plugins, and themes.
This option is risky if you’re not using managed WordPress hosting. Managed WordPress hosting companies automatically update your site to major WordPress versions and keep an eye out if something breaks.
If you turn on automatic updates, then there is a slight risk that your site may break and you won’t be online to fix it right away. Having that said, if you like to enable automatic updates, then there are two ways to do it (plugin method and code method).
Let’s take a look at the plugin method to keep wordpress site updated first.
First you need to install and activate the Easy Updates Manager plugin. Upon activation, you need to visit Dashboard » Update Options page to configure the plugin.
Setting up WordPress automatic updates
Now you need to scroll down to automatic updates section where you can enable automatic updates for core, plugins, themes, and translation files. Once you are done, simply save your settings.
Enabling Auto Updates Using wp-config File to keep wordpress site update
You can enable automatic updates for WordPress core by simply adding this line to your wp-config.php file.
If you also want to automatically update your themes and plugins, then you would need to add this to your theme’s functions.php file or a site specific plugin.
add_filter( ‘auto_update_plugin’, ‘__return_true’ );
add_filter( ‘auto_update_theme’, ‘__return_true’ );
We hope this article helped you learn how to keep WordPress site updated. You may also want to check out our The reasons why you need to use the latest version of wordpress.
You may also want to check the Best 5 WordPress Analytics Plugin You Cant Do Without For Your WordPress site.