1. 首页
  2. WordPress 函数手册

rawurlencode_deep()

rawurlencode_deep( mixed $value )

在数组、对象或标量中导航,并对要在URL中使用的值进行raw编码。
Navigates through an array, object, or scalar, and raw-encodes the values to be used in a URL.

目录锚点:#参数#返回#源码


参数(Parameters)

参数 类型 必填 说明
$value (mixed) 必需 要编码的数组或字符串。

返回(Return)

(mixed)$value编码的值。


源码(Source)


更新版本 源码位置 使用 被使用
3.4.0 wp-includes/formatting.php:2767 2 1 function

rawurlencode_deep() 为WP2原创文章,链接:https://www.wp2.cn/functions/rawurlencode_deep/