How to Disable Automatic Background Updates for WordPress Core
The following process works with all WordPress versions after version 3.7. There are several other options for disabling automatic background updates for WordPress including but not limited to: utilizing Jetpack with WordPress.com and utilizing WordPress plugins.
For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor
Navigate to your root WordPress directory (in this case: /home/example/public_html) and edit the wp-config.php file:
vim wp-config.php
or
vim /home/example/public_html/wp-config.php
Add the following to the file:
define( ‘WP_AUTO_UPDATE_CORE’, false );
In this case, I added the above code just above:
Then exit and save the file with the command
Related Articles:
About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to install PyTorch on Linux (AlmaLinux)
Read ArticleInnovative armor — exploring ThreatDown’s impact on cyber defense
Read ArticleControlling PHP settings with a custom php.ini file
Read ArticleLinux dos2unix command syntax — removing hidden Windows characters from files
Read ArticleChange cPanel password from WebHost Manager (WHM)
Read Article