urldecode_deep() WordPress Function
The urldecode_deep() function is a utility function that allows you to decode URL-encoded strings in PHP. This is useful when you need to decode strings that have been encoded by other applications or services.
urldecode_deep( mixed $value ) #
Navigates through an array, object, or scalar, and decodes URL-encoded values
Parameters
- $value
(mixed)(Required)The array or string to be decoded.
Return
(mixed) The decoded value.
Source
File: wp-includes/formatting.php
function urldecode_deep( $value ) { return map_deep( $value, 'urldecode' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |