Un motore di ricerca WordPress per sviluppatori e autori di temi



build_query ›

Da2.3.0
Deprecaton/a
build_query ( $data )
Parametri:
  • (array) $data URL-encode key/value pairs.
    Richiesto:
Links:
  • for more on what http_build_query() does.
Vedi:
Ritorna:
  • (string) URL-encoded string.
Definito a:
Codex:

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.



Sorgenti

function build_query( $data ) {
	return _http_build_query( $data, null, '&', '', false );
}