576 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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?

488 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Author had a Free File of the Month
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
+3 more
pixelentity says

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

576 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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