WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. inspirationally
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/automatic-updater/

  2. Gary Pendergast
    Member
    Plugin Author

    Posted 1 year 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

About this Topic