build_query
函数
build_query ( $data )
- 参数
-
-
(array)
$data
URL-encode key/value pairs.- Required: 是
-
(array)
- 返回值
-
- (string) URL-encoded string.
- 相关
-
- _http_build_query()
- 定义位置
-
-
wp-includes/functions.php
, line 1037
-
wp-includes/functions.php
- 引入
- 2.3.0
- 弃用
- –
Builds URL query based on an associative and, or indexed array.
This is a convenient function for easily building url queries. It sets the
separator to ‘&’ and uses _http_build_query() function.
function build_query( $data ) { return _http_build_query( $data, null, '&', '', false ); }
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。