Home / Uncategorized / How to Enable Automatic Updates in WordPress

How to Enable Automatic Updates in WordPress

WordPress introduced automatic updates function in 3.7 version to provide better Security. The
Automatic team improve the 3.7 version, but no doubt background updates is the most important feature of this release. WordPress can auto update itself if any kind of security update is available. Previously, we showed you how to disable automatic updates in WordPress. if you really want to know how to enable auto-updating in WordPress, then keep reading, today we will trying to show you how to enable automatic background updates.
The version of WordPress 3.7 run itself if any kind of update is available. For example if your website running on 3.7 version will auto update itself to 3.7.5, but the release of 3.8 version wordpress terminate the auto update function.

Turn on Autmatic Updates in WordPress

The wordpress team didn’t enable background updates in 3.8 or all latest version of wordpress because every version of wordpress comes with the important changes. wordpress devolpers understand that some sites are not ready to update immediately because of some problem. But if you are sure about your plugins and themes, then you can enable automatic updates without any worry.

WordPress Offer 4 Types Of Updates

There are 4 types of updates available in WP. User can enable or disable all types of updates any time by editing some files.

  • Core updates
  • Plugin updates
  • Theme updates
  • Translation file updates

 Core Updates

Core development updates are the most important factor for all WordPress sites. Core development updates known as the “bleeding edge. Minor core updates, like maintenance and security releases also included in This section.

By default, WordPress enable automatic updates only for minor core releases and translation files.

To enable core updates in your site add the following code in your site’s wp-config.php file.
define( 'WP_AUTO_UPDATE_CORE', true );
The following code also enable the development or nightly updates. if you don’t want to allow nightly and development updates, add the following code in your theme’s functions.php file.
add_filter( 'allow_dev_auto_core_updates', '__return_false' );
This following filter code will disable automatic updates for nightly builds or development updates.

Plugin Updates via Filter

By default WordPress disable the plugin and theme updates. To enable plugin and theme updates, you can restrict the auto_update_$type filter, where $type would be changed with theme or plugin command.

To enable automatic plugins updates add the following code in your wp-config.php file.

add_filter( 'auto_update_plugin', '__return_true' );

Themes Updates via Filter

To enable automatic themes updates add the following code in your wp-config.php file.

add_filter( 'auto_update_theme', '__return_true' );

Automatic Translation Updates

by default WordPress enable the Automatic translation updates same as minor core updates.

To disable automatic updates add the following code in your wp-config.php file.

add_filter( 'auto_update_translation', '__return_false' );



About tahir

Muhammad Tahir lives in Lahore, Pakistan. Loves to read and write articles about tech and web resources online.

Check Also

Caref GPS Phone Watch For Kids – Best GPS Tracker

Caref GPS Phone Watch helps parents to find out there kids from being lost. Small ...

Android or iOS Infographic Tell about Users Life Style

This Infographic Originally Posted on http://10bestresults.com    Comments comments

Top Ten Most Dangerous Lords in Kingdom 6 : Clash of Kings

Clash of Kings is the best and real time strategy game where powerful lords battle with ...

Telenor 3G Weekly Daytime Offer : 7 GB Data

Telenor 3G Weekly Daytime Offer : Pakistan’s one of the best network telenor is offering ...

Zong 7 Rupay Main 7 GB 3G Internet Offer

Zong 777 Offer: Zong 7 Rupay Main 7 GB Zong brings exciting offer for their ...