Disable Plugin Theme Updates
Photo Credit

Disable Plugin Theme Updates

Version: 1.0

Use built-in WordPress filters to remove the UI for automatic plugins and theme updates.

How to Use

Download > Install > Activate. That's it!

Example

Automatic updates will automatically be disabled for plugins and themes. Comment out the filters for plugins or themes if you only want to stop one. Block plugins that turn on automatic updates for themselves without your knowledge.
Disable Plugin Theme Updates

Source

This code can be pasted into the functions.php file of your child theme or, download and install the plugin for simple code activation.
/*
Plugin Name: Lightweight Plugins - Disable Plugin Theme Updates
Plugin URI: https://lightweightplugins.com/plugin/disable-plugin-theme-updates
Description: Use built-in WordPress filters to remove the UI for automatic plugins and theme updates.
Version: 1.0
Author: WP Maintenance Experts
Author URI: https://wpmaintenanceexperts.com/
License: GPLv2 or later
*/

// Disables all automatic plugin updates
add_filter( 'auto_update_plugin', '__return_false' );

// Disable all theme automatic updates
add_filter( 'auto_update_theme', '__return_false' );

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *