Uses
Uses | Description |
---|---|
wp-includes/formatting.php: map_deep() | Maps a function to all non-iterable elements of an array or an object. |
Navigates through an array, object, or scalar, and encodes the values to be used in a URL.
(mixed) (Required) The array or string to be encoded.
(mixed) The encoded value.
File: wp-includes/formatting.php
function urlencode_deep( $value ) { return map_deep( $value, 'urlencode' ); }
Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/urlencode_deep