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.


Top ↑

Return

(mixed) The decoded value.


Top ↑

Source

File: wp-includes/formatting.php

function urldecode_deep( $value ) {
	return map_deep( $value, 'urldecode' );
}


Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More