Site logo

Archived topic

Hook for instant page script

3 replies · Started by mariosem on October 3, 2021

Viewing posts 1–4 of 4

Hello,

I would like to insert the script of instant page without using the corresponding plugin.
It must be placed just before </body>.
I understand it is in the footer but what hook do I have to use, precisely? Maybe generate_after_footer_content?

Thanks,

Mario

Hi there,

you can use a Hook Element and select the wp_footer hook

Thanks, David!

You're welcome

This archived topic is closed to new replies.