Groovinator
Member
Posted 1 year ago #
Hi,
I can't seem to find an answer to this or perhaps I'm looking for the wrong question. I'm diving into making WP plug-ins starting with easy stuff.
Can anyone tell me how I output something (anything - even just a line of text so I can see it work) to wp_head() with a plug-in? Basically I wan't it to output as soon as the plug-in in activated.
Thanks in advance.
Groovinator
Member
Posted 1 year ago #
Thanks! Exactly what I was looking for. And of course the same can be done for wp_head()
Sorry - I thought you were already trying to hook something into wp_head?
Groovinator
Member
Posted 1 year ago #
Erm wp_footer I meant - sorry trying to do too may thing at once here. Thanks again.
Yes - it's the same for wp_footer(). You can use that as a hook too.