# Discourse Subscriptions Plugin

**URL:** https://meta.discourse.org/t/discourse-subscriptions-plugin/140818
**Category:** Plugin
**Tags:** official, subscriptions, payments, included-in-core
**Created:** [February 6, 2020, 4:15am UTC](https://meta.discourse.org/t/discourse-subscriptions-plugin/140818 "2020-02-06T04:15:07Z")
**Posts on this page:** 1
**Showing post:** 725

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 17, 2025, 4:06pm UTC](https://meta.discourse.org/t/discourse-subscriptions-plugin/140818/725 "2025-07-17T16:06:37Z")

</div>

I haven’t tested this, but I’m pretty sure this will work:

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - rm -rf discourse-subscriptions
          - git clone https://github.com/yourForkUser/discourse-subscriptions

```

Since this gets run from the plugins directory, it’ll remove the `discourse-subscriptions` that’s now included in core and replace it with the one that you’ve always used before. So adding just that `rm -rf` to your `app.yml` before your `git clone` (for this or any other plugin you want not included or to replace) should do what you want and replace the core plugin with your fork.

---

_[View the full topic](https://meta.discourse.org/t/discourse-subscriptions-plugin/140818)._
