The filter for post
permalinks is post_link
.
Hook your update_article_permalink
function to the post_link
filter to apply your function whenever get_permalink
is called.
The filter for post
permalinks is post_link
.
Hook your update_article_permalink
function to the post_link
filter to apply your function whenever get_permalink
is called.