百度 | 神马 | 搜狗 | 技术文档 | 学习资料分享 - 记录帝国CMS及运维技术的点点滴滴
你的位置:首页 > 实用IT技术 » 正文

【Wordpress相关】WordPress 常用函数 / utf8_uri_encode

发布时间:2020-09-17

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

Top