How To Enable Automatic Updates In WordPress Only For Big Releases?
December 15th, 2016 | by Ravi Chahar || 10 Comments |
WordPress comes with many options and here you can set the automatic updates. One of our readers asked how to enable automatic updates in WordPress.
There are many things which should be learned before you decide to enable it. If you ever do any change in your website then it’s possible that an automatic update can break your website.
But if you’re sure about everything then go for it.
In this tutorial, you will learn the way to enable automatic updates in WordPress only for major releases. It means that the code will only work when WordPress release any major version.
Add The Code In the functions.php File of Your Theme.
Before going further, I must let you know that if you are using any third party plugin or any customized theme then after the automatic update, it’s possible that the plugins won’t work properly.
Before you update your WordPress version, you always check the working of all the plugins. Not every plugin keeps updated along with the WordPress version.
There are some benefits too. As you always read, you should never keep the old version of WordPress to your website.
So why can’t you enable the updates? Just go for it.
Add the code shown below in the functions.php file of your theme.
This code will enable all the core updates of WordPress. But the thing is that you don’t need to enable the development updates. So you have to disable those updates.
Just add another line in the file.
This code will disable the development updates.
Now you have successfully enabled the automatic updates in WordPress for the major releases.
Isn’t that Easy To Enable Automatic Updates In WordPress?
What do you think about automatic updates? Are you going to enable them?
Well, it’s the matter of personal choice because most of the people like to keep their website up to date and these automatic updates can help you.
To maintain the latest version even when you are not around, use the automatic updates.
10 comments
Leave a Reply
Hi Ravi,
I came here from reading your great guest post over on Donna Merrill’s blog.
This is a great little tutorial and something I’m going to try on one of my niche sites, as I rarely log into it, and when I do there’s always something to update with regards to the version of WordPress.
Even though this is for core updates only, setting an automatic update sounds like to could save me some time for having to keep updating new releases of WordPress.
Thanks again Ravi, and great to connect with you.
Enjoy the rest of your week.
– Fabrizio
Hey Fabrizio,
It would be a great idea to enable the automatic updates. This code only works for the big updates.
As it’s always recommended to keep your plugins, themes and WordPress updated so that no one can find any back door.
I am glad that we could meet at Donna’s place.
Thanks for stopping by.
~Ravi
Hello Ravi,
One more good tip.
I did use it earlier for one site but in that I turned off the automatic update. Nice tutorial. Thanks.
Hey Atish,
Thanks for stopping by.
Have a great day.
~Ravi
Hi Ravi,
Great info bro.
This is completely a new topic for me. I never heard before about automatic wordpress update.
Will definitely going to enable it.
Thanks for sharing.
Cheers
Hey Riju,
WordPress has many things which are yet to be known by many people. Enabling the automatic updates can help you when you aren’t able to check your website on the daily basis.
Otherwise, you can update it manually.
I am glad that at least I could bring you something new.
~Ravi
Hi Ravi,
Another hack that would certainly come in handy…I’m in love ?
I’ve got a question though: any code that will automatically also update the plugins when there is a new update? Combining the two would really make a ton of sense and save one several precious hours ?
Be sure to make the day great!
Always,
Akaahan Terungwa
Hey Akaahan,
There is an another code for enabling the automatic updates for the WordPress plugins. I will surely write a post about it.
Thanks for stopping by.
Enjoy your day.
~Ravi
Hi Ravi! Happy Friday!
This is a fabulous tutorial! Thankfully, my web host will auto update for me if I want. However, I’m not all about the “auto” updates. I like to make a backup prior to in the event something goes wrong. Eeek!
But, this is great! You know I’ve already passed it along!
Have a great weekend!
B
Hey Bren,
It’s good to have the web hosting like that you have. The manual updates are always good and having a backup is the best idea.
Thanks for sharing your thoughts.
Have a great week ahead.
~Ravi