Archived topic
Hook after close body tag
1 reply · Started by Sara on July 22, 2019
Viewing posts 1–2 of 2
I'd like to insert javascript code right after the body close tag (ie </body>). Is there a hook for that?
Hi there,
Usually javascript can go into the wp_footer hook:
https://docs.generatepress.com/article/hooks-element-overview/
Let me know if this helps :)
This archived topic is closed to new replies.