[Support request] Hook after close body tag

Home Forums Support [Support request] Hook after close body tag

Home Forums Support Hook after close body tag

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #963927
    Sara

    I’d like to insert javascript code right after the body close tag (ie </body>). Is there a hook for that?

    #964257
    Leo
    Staff
    Customer Support

    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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.