Title: question: how to programatically block plugins with .git subdirectory
Last modified: October 11, 2020

---

# question: how to programatically block plugins with .git subdirectory

 *  Resolved [apedog](https://wordpress.org/support/users/apedog/)
 * (@apedog)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/question-how-to-programatically-block-plugins-with-git-subdirectory/)
 * Is there an easy way to programmatically block plugins that have a .git subdirectory?
 * On my local machine I have plugins that are direct git clones of remote repos
   that I edit. Obviously I would like to block updates for these plugins (Only 
   update through branch-switching and fetch). Is there an easy way to do this with
   the API?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/question-how-to-programatically-block-plugins-with-git-subdirectory/#post-13528970)
 * Hi,
 * That features exists in Easy Updates Manager Premium (the “Version Control Protection”
   feature).
 * Best wishes,
    David
 *  Thread Starter [apedog](https://wordpress.org/support/users/apedog/)
 * (@apedog)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/question-how-to-programatically-block-plugins-with-git-subdirectory/#post-13529127)
 * Fair enough 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘question: how to programatically block plugins with .git subdirectory’
is closed to new replies.

 * ![](https://ps.w.org/stops-core-theme-and-plugin-updates/assets/icon-256x256.
   png?rev=1896941)
 * [Easy Updates Manager](https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates/)
 * [Active Topics](https://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [apedog](https://wordpress.org/support/users/apedog/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/question-how-to-programatically-block-plugins-with-git-subdirectory/#post-13529127)
 * Status: resolved