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.

link|improve this question

56% accept rate
feedback

1 Answer

You need to filter 'sanitize_title' and use the second argument, the raw title. See my plugin Germanix for an example.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.