WordPress at Your Fingertips
function is not described

WC_API_Server::urldecode_deep() protected WC 2.2

urldecode deep.

{} It's a method of the class: WC_API_Server{}

No Hooks.

Return

String|Array. Decoded data.

Usage

// protected - for code of main (parent) or child class
$result = $this->urldecode_deep( $value );
$value(string|array) (required)
Data to decode with urldecode.

Changelog

Since 2.2 Introduced.

Code of WC_API_Server::urldecode_deep() WC 5.7.1

protected function urldecode_deep( $value ) {
	if ( is_array( $value ) ) {
		return array_map( array( $this, 'urldecode_deep' ), $value );
	} else {
		return urldecode( $value );
	}
}