Which is the function WP uses to convert words like “voilà” and “novità” to “voila” and “novita” in category slug? Can I recall it in my theme?

1 Answer
1

If you simply want to covert accented words you can use remove_accents()

If you want it converted in a slug like format you can use sanitize_title()

Leave a Reply

Your email address will not be published. Required fields are marked *