发布时间:2020-09-17
WordPress 常用函数 / remove_accents,
将所有重音字符转换为ASCII字符,如果没有重音字符的字符串,就直接返回。
<?php remove_accents( $string ) ?>
$string
(string) (required) 可能含有重音字符的文本
Default: None
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
(string)
转换为ASCII字符的文本。
Since: 1.2.1
wp-includes/formatting.php
全站搜索