wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



build_query › WordPress Function

Od2.3.0
Przestarzałyn/a
build_query ( $data )
Parametry:
  • (array) $data URL-encode key/value pairs.
    Wymagane: Tak
Linki:
Zobacz:
Powrót:
  • (string) URL-encoded string.
Zdefiniowane na:
Codex:

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.


Źródło

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