【WordPress相关】WordPress 常用函数 / utf8_uri_encode
作品分类:Wordpress相关 字符串 编码 源文件 函数 常用 WordPress utf8_uri_encode
WordPress 常用函数 / utf8_uri_encode,
简介
编码 Unicode 的值,用于 URI。
用法
<?php utf8_uri_encode( $utf8_string, $length ) ?>
参数
$utf8_string
(string) (required)
Default: None
$length
(integer) (optional) 字符串的最大长度
Default: 0
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
返回值
(string)
已经将 Unicode 编码的字符串
修改记录
Since: 1.5.0
源文件
wp-includes/formatting.php
原创文章,作者:starterknow,如若转载,请注明出处:https://www.starterknow.com/32003.html