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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)