Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




build_query [ WordPress Function ]

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



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.

Source


<?php
function build_query$data ) {
    return 
_http_build_query$datanull'&'''false );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics