Menu
wpseek
mobile
Search
build_query
build_query
(
$data
)
Parameters:
(array)
data
URL-encode key/value pairs.
Links:
https://www.php.net/manual/en/function.http-build-query.php
See:
_http_build_query
()
Returns:
(string) URL-encoded string.
Defined at:
wp-includes/functions.php
, line 1036
Introduced in WordPress:
2.3.0
Deprecated in WordPress:
—
Description
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.
Related Functions
_http_build_query
,
add_query_arg
,
is_main_query
,
add_user
,
build_query_vars_from_query_block
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_render_empty_block_template_warning
My Bookmarks
- Soon -
About
Imprint
Privacy Policy