Enable Auto Update WordPress Plugins and Themes

Discover how to enable auto updates for WordPress plugins and themes with WPCodeBox. Add PHP snippets, save, and enjoy hassle-free updates!

Introduction

Instructions:

  1. Add a PHP snippet in WPCodebox
  2. Paste the code from below
  3. Save it once
  4. Enable it and save it again

Code Samples

This will enable automatic updates of plugins and themes.

PHP
add_filter("auto_update_plugin", "__return_true");
add_filter("auto_update_theme", "__return_true");
add_filter("allow_minor_auto_core_updates", "__return_true");

Leave the first comment


On This Page

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only