Whereabouts can I edit which characters in permalinks are replaced? For example apostrophe’s are replaced with nothing, and I would like to have them replaced with hyphens instead.
Thanks.
Whereabouts can I edit which characters in permalinks are replaced? For example apostrophe’s are replaced with nothing, and I would like to have them replaced with hyphens instead.
Thanks.
You must be logged in to post a comment.
You need to filter
'sanitize_title'
and use the second argument, the raw title. See my plugin Germanix for an example.