Uses
Uses | Description |
---|---|
wp-includes/functions.php: _http_build_query() | From php.net (modified by Mark Jaquith to behave like the native PHP5 function). |
Build 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.
(array) (Required) URL-encode key/value pairs.
(string) URL-encoded string.
File: wp-includes/functions.php
function build_query( $data ) { return _http_build_query( $data, null, '&', '', false ); }
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/build_query