Template hook for plugin
I'm just wondering if anyone knows which hook I would use to change a template using a plugin?
I need to know which hook would make it available, so you can edit fields in the templates such as: $customfields[other] and change them based on whatever conditions you have. But before they are processed or parsed. (when the raw template is passed, but just before it is processed)
The idea is
$template = str_replace('\$customfields[other]','\$customfields[other]\nAdditional Code',$template);
Activated in the proper hook, I should be able to do that? Right?
Thanks
Marcus/Ridley...
|