build_query()
build_query( array $data ) 基于关联和/或索引数组生成URL查询。Build URL…
build_query( array $data )
基于关联和/或索引数组生成URL查询。
Build URL query based on an associative and, or indexed array.
目录锚点:#说明#参数#返回#源码#笔记
说明(Description)
另见函数 _http_build_query()
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| $data | (array) | 必需 | URL编码键/值对。 | 
返回(Return)
(string)URL编码string。
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 | 
|---|---|---|---|
| 2.3.0 | wp-includes/functions.php:987 | 1 function | 1 function | 
笔记(Notes)
这个函数将用urlencode=FALSE调用http_build_query(),这一点还不清楚。所以假设您之前已经对输入数组的每个单独的键和值进行了urlencoded!
类别:WordPress 函数手册、 
		本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。

还没有任何评论,赶紧来占个楼吧!