rawurlencode_deep( mixed $value )
Navigates through an array, object, or scalar, and raw-encodes the values to be used in a URL.
Parameters
- $value
-
(mixed) (Required) The array or string to be encoded.
Return
(mixed) The encoded value.
Source
File: wp-includes/formatting.php
function rawurlencode_deep( $value ) { return map_deep( $value, 'rawurlencode' ); }
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/rawurlencode_deep