? init or template_redirect' action?
-
Hi There, just installed pretty link lite to try it on for size, wow if this works how absolutely perfect for what I need!!! Thank you for showing up in my life today ??
I am just getting things set up, groups, links, tracking etc. & am wondering if you could help me better understand the differences in using either of those two hooks site is using a pretty complex theme (https://breathepossibility.com) “Black Label” & I just want to be sure I’m not going to break anything LOL ~ so where you say the description “Defaults to use WordPress’ ‘init’ action. Init works more reliably for many users but the better option for performance and compatibility is to use the ‘template_redirect’ action.” I am always drawn of course to “better options” ?? but if possible would like to know the “why” of it (was that way as a child too drove my parents nuts) LOL
Thank you for your kind reply ??
Linda Lou
- The topic ‘? init or template_redirect' action?’ is closed to new replies.