How to create and use Custom hooks

Where to put hooks will depend on each project. However, some basic places to think about:

  • Shortcodes
  • Querying posts
  • Extending markup

I would recommend the article Writing Extensible Plugins With Actions and Filters. It may help you to expand your ideas.