How to Auto Update WordPress Plugins and Themes – DIY Plugin Tutorial

You’ll learn to keep your plugins and themes automatically updated with a simple plugin. You can actually make this plugin yourself! This is a great little project if you have never made a plugin before… you can start calling yourself a full stack developer now ?

Follow along with the video here:

Code for the plugin is here:

<?php

/**
* Plugin Name: Automatic Plugin and Theme Updater
* Description: To auto update themes and plugins 
* Version: 1.0
* Author: IdeaSpot
*/

/** WordPress Automatic Plugin Updates **/
add_filter( 'auto_update_plugin', '__return_true' );

/** WordPress Automatic Theme Updates **/
add_filter( 'auto_update_theme', '__return_true' );

If you don’t feel like going to all that trouble? Just download the plugin here, and install through the upload file option in WordPress:

Similar Posts

  • Peppertype A.I. Review

    No longer will i have to worry about writer’s block or getting distracted from my work, i can just rely on peppertype to generate new content that will have my readers coming back for more! Watch our YouTube review where we test Peppertype and create a blog post very quickly, despite choosing a pretty difficult…

  • Contabo VPS Review

    I’ve looked at dozens of VPS hosts over the years, but have always ended up going with one of the big guys. I’m glad to have found Contabo. Their performance is similar to the big boys, but their prices are much lower. You can get a VPS with more resources for less money with Contabo….

  • Oracle Free Tier Setup

    Free 24GB 4CPU Server – WordPress Setup with Aapanel In this video we will be showing you how to set up a WordPress site on Oracle Cloud which is free forever! This is great for those who want to try out WordPress and see how it works and for those who just want a free…

  • WireGuard Setup

    In our video we use the Wireguard install script from github available here: https://github.com/angristan/wireguard-install Thanks to Stanislas for sharing it 🙂   After connecting to your instance with Putty or other SSH client, we used the following commands: finally we view our config file using the following (replace with your client name here): In Putty, highlighting the…