post_link filter not affecting previous_post_link()
-
I’ve created a very simple plugin that replaces my wordpress post permalinks with external links whenever a specific key value is set on that particular post.
The filter I’m using is post_link.
Everything works exactly as I expect it to, except the previous_post_link() and next_post_link() values aren’t updated to reflect the external link.
If I read the codex correctly, these functions should be affected by the post_link filter. What am I missing here?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘post_link filter not affecting previous_post_link()’ is closed to new replies.