rawurlencode_deep( mixed $value ): mixed

Navigates through an array, object, or scalar, and raw-encodes the values to be used in a URL.


Parameters

$value mixed Required
The array or string to be encoded.

Top ↑

Return

mixed The encoded value.


Top ↑

Source

File: wp-includes/formatting.php. View all references

function rawurlencode_deep( $value ) {
	return map_deep( $value, 'rawurlencode' );
}


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.