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



rawurlencode_deep › WordPress Function

Since3.4.0
Deprecatedn/a
rawurlencode_deep ( $value )
Parameters:
  • (mixed) $value The array or string to be encoded.
    Required: Yes
Returns:
  • (mixed) The encoded value.
Defined at:
Codex:

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



Source

function rawurlencode_deep( $value ) {
	return map_deep( $value, 'rawurlencode' );
}