683 posts
  • 4 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
ChapterThemes
says

I’ve been busy rewriting some old stuff to a higher coding standard and try to get things clearer so that re-using already written stuff is more easy.

While doing that i got the idea of using own custom hooks and i wondered if it is good practice to use a custom hook inside a theme.

On a search quest online i’ve found a couple of discussions about custom hooks inside themes, but those are not really up to date.

So i wonder what other’s over here think: Custom hooks inside themes: Good or Bad practice?

501 posts
  • Affiliate Level 7
  • Author Level 10
  • Collector Level 2
  • Top Monthly Author
+10 more
pixelentity
says

I don’t see why not, twentytwelve / twentythirteen define a couple of custom filters

683 posts
  • 4 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
ChapterThemes
says

I don’t see why not, twentytwelve / twentythirteen define a couple of custom filters

Yeah i see. Indeed why not. I think it’s a nice approach to get nice clean template files which in turn will be more easily to edit.

by
by
by
by
by
by