Where to find all the events for on()?

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”?

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

2 Likes

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

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

Thanks!