Skip to content

Instantly share code, notes, and snippets.

@walterebert
Last active November 10, 2015 10:18
Show Gist options
  • Save walterebert/3fc05f20dd8adb651783 to your computer and use it in GitHub Desktop.
Save walterebert/3fc05f20dd8adb651783 to your computer and use it in GitHub Desktop.
WordPress snippet: Disable plugin/theme updates
<?php
add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment