# Where to find all the events for on()?

**URL:** https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192
**Category:** Development
**Created:** [June 7, 2025, 2:38am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192 "2025-06-07T02:38:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [June 7, 2025, 2:38am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192/1 "2025-06-07T02:38:37Z")

</div>

I’ve looked at some plugins, and they seem to have some events like `on(:post_edited)` or `on(:site_settings_changed)`. I’m wondering, where does one find that these exist? Is there a list of all these… “events”?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 7, 2025, 3:28am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192/2 "2025-06-07T03:28:58Z")

</div>

Not sure if someone maintains a comprehensible list nowadays, but in the past I used to to a “find all” and search for `DiscourseEvent.trigger` like this

> **[Build software better, together](https://github.com/search?q=repo%3Adiscourse%2Fdiscourse+DiscourseEvent.trigger&type=code)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [June 7, 2025, 5:10am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192/3 "2025-06-07T05:10:41Z")

</div>

That link didn’t seem to work.  
Seems like copying and pasting the search link didn’t work. I had to search it manually 🤔.

Anyway, searhing for ‘DiscourseEvent.trigger’ did seem like what I was looking for.

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 7, 2025, 5:11am UTC](https://meta.discourse.org/t/where-to-find-all-the-events-for-on/369192/4 "2025-07-07T05:11:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
