So, maybe we can use 3 types of hook:

1) add to the end of a page (footer)

Isn't this the same as in r2727?

I guess so, so add_footer() and add_header() are the same as adding to the page template right?


2) add to the end of a template (patch 2727)
3) add to the end (and beginning?) of container/object elements.

Can be done using the 'template_container' hook.

Last time I looked at that hook, you could only add content before containers. Or am I mistaken?


Cor