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' );
}

Changelog

Version Description
4.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/urldecode_deep