Check meta-value just before rendering
-
I have posts and pages that have a meta-value set to a certain value.
Whenever such a post or page is encountered I need to redirect to another page (I am doing this via a plugin). This should also work if someone runs a WP_Query on a template-file directly.
So I need a hook after a WP_Query has run, but before the content is rendered. Which one(s) can I use for that?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Check meta-value just before rendering’ is closed to new replies.