Is there a way of somehow processing the final wordpress page output with for example regex, including both the template and the post ? Perhaps a filter hook I could use? Couldn't seem to find one very easily.
Also, could someone direct me somewhere that would explain how exactly wordpress prints a page?
Thanks!