The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Advanced Automatic Updates
[resolved] Exclude plugin? (2 posts)

  1. inspirationally
    Posted 3 years ago #

    Is there any way to exclude a plugin from being automatically updated? I added this http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/ to the said plugin, because I did a LOT customizations for one of the plugins and don't like the current more complex version, but unfortunately Automatic Updater overwrote everything and I had to restore the 500MB database.


  2. Gary Pendergast
    Plugin Author

    Posted 3 years ago #

    There's a filter available called auto_updater_plugin_updates, which passes an array of all the plugins it intends to update. It's the same array as $plugins->plugins in the example you gave, so it should just be a matter of unsetting the array element with your plugin_basename() as the key.

    Let me know how this goes!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Automatic Updates
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic