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



urlencode_deep › WordPress Function

Od2.2.0
Przestarzałyn/a
urlencode_deep ( $value )
Parametry:
  • (mixed) $value The array or string to be encoded.
    Wymagane: Tak
Powrót:
  • (mixed) The encoded value.
Zdefiniowane na:
Codex:

Navigates through an array, object, or scalar, and encodes the values to be used in a URL.



Źródło

function urlencode_deep( $value ) {
	return map_deep( $value, 'urlencode' );
}