wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



urlencode_deep › WordPress Function

Depuis2.2.0
Dépréciéen/a
urlencode_deep ( $value )
Paramètres:
  • (mixed) $value The array or string to be encoded.
    Requis: Oui
Retourne:
  • (mixed) The encoded value.
Défini(e) dans:
Codex:

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



Source

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