Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress: Deactivate automatic plugin updates
* Plugin Name: Deactivate automatic plugin updates
* Description: Deactivates the possibility to automatically update a plugin.
* Plugin URI:
* Version: 1.0
* Author: Marc Nilius
* Author URI:
* Licence: GPL 2
* License URI:
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
// Add filter to not allow automatic plugin updates
add_filter( 'auto_update_plugin', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment