WordPress 常用函数 / remove_accents
将所有重音字符转换为ASCII字符,如果没有重音字符的字符串,就直接返回。
<?php remove_accents( $string ) ?>
<?php remove_accents( $string ) ?>$string
(string) (required) 可能含有重音字符的文本
Default: None
(string)
转换为ASCII字符的文本。
Since: 1.2.1
wp-includes/formatting.php