New answers tagged rewrite-tag
Rewrite tags aren't used in the context of add_rewrite_rule. If you were to use your tag in the post permalink settings under Settings > Permalinks, then your tag would be present in the link passed to the post_link filter. I think you need to add a new permalink structure containing the tag directly to the rewrite object to have a custom tag in there. As it ...
Top 50 recent answers are included