What function does WordPress use to convert Polish characters to English equivalents? For instance ‘ą’ to ‘a’.
List of Polish characters:
ł ą ż ę ć ń ś ź
Ł Ą Ż Ę Ć Ń Ś Ź
When I post these characters in a post title their accents are removed properly by WordPress for the post URL (ł becomes l and so on). But if I manually include wp-includes/formatting.php in a new script outside WordPress, the remove_accents() function leaves these characters as-is, and the sanitize_title_with_dashes() function simply deletes these characters.
I’d like to convert these characters in a separate plugin. Does anyone know what function is WordPress using for these characters?
- The topic ‘How does WP remove accents from Polish characters?’ is closed to new replies.