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

Check Also

Zong 7 Rupay Main 7 GB 3G Internet Offer

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

Telenor Easy Card Offer in Rs 300 Free SMS, Calls, Internet

Telenor Easy Card Offer is yet another package comes up from Pakistan’s 2nd largest mobile ...

Google Chrome Latest Official Full Standalone Offline Installer

Google Chrome is one of the best browser in the world. Millions of peoples are ...

Subscribe Glow 2.0 Package

Glow 2.0 is a stunning offer comes up from warid telecom. By subscribing the 2.0 ...

5 Best Contact Form Plugins for WordPress

Contact form helps your readers to contact with you.There are 1600+ Contact Form Plugins available to ...