发布时间:2020-09-17
WordPress 常用函数 / convert_smilies,
转换如 :-)、:-P 等文本表情符号为图像
只有 ‘use_smilies’ 选项被设置为 true 并且函数中的全局变量不为空的时候才转换
<?php convert_smilies( $text ) ?>
$text
(string) (required) 将进行表情转换的文本
Default: 无
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
(string)
已经将表情转换为图像的字符串。
Since: 0.71
wp-includes/formatting.php.
全站搜索