I am trying to change the output of the
previous_post_link and the
next_post_link and basically add a query argument to them. The documentation just mentions that you can use the
%link placeholder that is basically replaced by
<a href="... the whole shebang. This does not help me, since I can't just add the query argument using simple concatenation.
Even if there is no direct way to actually use
add_query_arg on the template tag, is there at least some kind of documentation regarding the placeholders that are available to me (besides
%link)? If it is possible to do that and I have just the
href value part available to me, I could just build my own markup with it.
I did an extensive google search on the subject and even checked the implementation of
wp-includes/link-template.php, but just the post is returned there (no mention to how this thing is themed at all).
Thanks in advance for any insight that you can provide.