Add Hook Location to WordPress Theme

You can add a Hook Location anywhere within a theme.
The function to use is the do_action WordPress function.

Use the code in the appropriate theme template file to create the Hook position.

1
<?php do_action ('before_post'); ?>