build_query


build_query ( $data )

Parameters:
  • (array) $data URL-encode key/value pairs.
Links:
  • for more on what http_build_query() does.
See:
Returns:
  • (string) URL-encoded string.
Defined at:

Description

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.

Related Functions

_http_build_query, add_query_arg, is_main_query, add_user, set_query_var

Top Google Results

User discussions

wpseek mobile