Let plugins filter post permalink before core replacements
|Reported by:||shidouhikari||Owned by:||ryan|
In the function get_permalink(), there is the filter 'post_link' that lets plugins filter a post permalink.
But this filter is run after all rewrite tags are replaced.
I suggest give plugins more control over posts permalink generation, adding a filter before rewrite tags start being parsed, so that they can replace it as needed.
Change History (18)
comment:4 @shidouhikari — 5 years ago
- Keywords has-patch tested added; permalink filter hook get_permalink post_link removed