Skip to content

Mstoic

  • Home
  • Start Here!
  • Best Deals
  • Facebook Tricks
  • Privacy
  • Resources
  • TOC
  • Tools
    • Web Tools
      • Stop Watch
      • QR Code Generator
      • Adsense Code Converter
      • Blogger Sitemap Generator
      • Difference Between Two Texts
      • Vacation Checklist
      • Twitter Symbols
      • Count Down
    • Investment
      • SIP Calculator
      • Power of Compounding
      • PPF Calculator
      • FD Calculator
  • About Us

Auto Update Plugins And Themes In WordPress

Editorial Team | July 29, 2014July 26, 2014 | Webmasters, Wordpress |

WordPress with version 3.7, enabled auto updates for all minor WordPress releases. WordPress developers did this to make the update process of WordPress core more streamlined and easy. But some of us may find updating themes and plugins difficult too, and we have a solution to automate that too.

Auto Update Plugins And Themes In WordPress

WordPress has these features built into the core, but are disabled by default. But you can easily enable them, by adding a small piece of code to your theme’s functions.php file.

Add the below code to enable automatic updates for plugins.

add_filter( 'auto_update_plugin', '__return_true' );

And this code for themes.

add_filter( 'auto_update_theme', '__return_true' );

It is always a good idea to check your website for proper functioning after you install/update any plugin/theme. This is required to make sure that the updated plugin’s/theme’s code doesn’t conflict with other themes and plugins. If you automate the process, you are installing every update as soon as it arrives, which may lead to malfunctioning of your website. Moreover, you will never know which plugin created the problem.

This enables automatic updates for only those themes and plugins that are downloaded/installed from WordPress repository, and not others.

Previous Post

Display Blog Subscribers In WordPress

by Editorial Team

Next Post

Download Norton Mobile Security With 1 Year Key For Free

by Editorial Team

Recommended Next
Detect JavaScript Support Best Way To Detect If Visitors Browser Supports JavaScript

Your Comment Cancel reply

Follow Us

Like us Follow us Follow us

Categories

  • Tricks (93)
  • Facebook (83)
  • Tips (76)
  • Windows (67)
  • Wordpress (39)
  • Android (38)
  • Internet (33)
  • Antivirus (30)
  • How To (29)
  • Customization (25)
  • Webmasters (25)
  • Downloads (21)
  • Utilities (21)
  • Gmail (20)
  • Windows 7 (19)

Related Articles

  • Reverse a String using StringBuilder