urldecode_deep
Navigates through an array, object, or scalar, and decodes URL-encoded values.
Description
urldecode_deep( (mixed) $value );
Parameters (1)
- 0. $value (mixed)
- The array or string to be decoded.
Usage
if ( !function_exists( 'urldecode_deep' ) ) { require_once ABSPATH . WPINC . '/formatting.php'; } // The array or string to be decoded. $value = null; // NOTICE! Understand what this does before running. $result = urldecode_deep($value);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/formatting.php
- function urldecode_deep( $value ) {
- return map_deep( $value, 'urldecode' );
- }