WordPress.org

Support

Support » Themes and Templates » When and where to add hooks. Would love your opinion.

When and where to add hooks. Would love your opinion.

  • 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?

    Bruce

  • The topic ‘When and where to add hooks. Would love your opinion.’ is closed to new replies.
Skip to toolbar