The other day I was adding the ability to add a template tag to a template from a plugin I am developing.
Now adding template tags is pretty straightforward, but adding them in a way which is safe and will not cause problems in the future is slightly more subtle.
Now rather than going into the details myself, and as I am a believer in recycling old material, I will let Andrew Nacin explain in a post he wrote in 2010.. Enjoy.
Do you write safe template tags in your plugins? Leave a comment and let me know.