I've used EE for a while now but I'm new to creating extensions or modules. I want to add a functionality where a bunch of email addresses stored in a database get notified when an entry is submitted in a particular channel. I've scanned docs and other sources and determined a module was my best bet.
I've started my module following the official tutorial. I've also found pkg.io which is very useful to kickstart module development.
My issue is that I can't figure out how to use hooks the way I want to. It seems that the entry_submission_end hook is the one I'm looking for, but I'm missing where $this->extensions->call('entry_submission_end', $this->entry_id, $this->meta, $this->data);
should be included.
I've searched for tutorial on modules or extensions development using hooks but didn't not find any reliable or clear source that could help me. Thanks!