I have seen that hooks drive WordPress and I have some hooks in my functions.php of my themes and some in my plugins.
I am curious if there is a best practice for this. When is it best to add hooks via functions.php vs plugins?
- The topic ‘When and where to add hooks. Would love your opinion.’ is closed to new replies.