wpseek.com
WordPress开发者和主题制作者的搜索引擎
build_query › WordPress Function
Since2.3.0
已弃用n/a
› build_query ( $data )
| 参数: |
|
| 链接: | |
| 查看: | |
| 返回: |
|
| 定义在: |
|
| 文档: |
Builds a URL query based on an associative or indexed array.
This is a convenient function for easily building URL queries. It sets the separator to '&' and uses the _http_build_query() function. Unlike PHP's native http_build_query(), this function does NOT URL-encode the keys or values. Callers are responsible for encoding values beforehand with urlencode() or rawurlencode(), or late-escaping the output with esc_url() before use.Related Functions: _http_build_query, add_query_arg, is_main_query, add_user, build_query_vars_from_query_block