Use decorators for events
luxaritas opened this issue · comments
Jonathan Romano commented
Instead of using the actions
function, it would be great to have a function decorator that specifies what event is being listened for for a function within a plugin