Change a Page’s content before it’s output…
-
What I want to do is this:
- The author types in a tag marker when they do their Page
- Before the Page is output, I check through the content of the Page, looking for this marker.
- If I find one, it’s replace with something else (a snippet of code I have).
My only problem is with the second step; I don’t know how to nab the Page’s content before it’s output. I’m guessing I need to use a filter on it, but I’m not sure which filter.
A few add ons do this, but looking through something like Contact Form 7, I can’t seem to find out they do it…
Anyone shed a little light on this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change a Page’s content before it’s output…’ is closed to new replies.