On this page
rawurlencode_deep( mixed $value ): mixed
Navigates through an array, object, or scalar, and raw-encodes the values to be used in a URL.
Parameters
$valuemixed Required-
The array or string to be encoded.
Return
mixed The encoded value.
Source
File: wp-includes/formatting.php. View all references
function rawurlencode_deep( $value ) {
return map_deep( $value, 'rawurlencode' );
}
Related
Uses
| Uses | Description |
|---|---|
| map_deep() wp-includes/formatting.php | Maps a function to all non-iterable elements of an array or an object. |
Used By
| Used By | Description |
|---|---|
| get_avatar_data() wp-includes/link-template.php | Retrieves default data about the avatar. |
| redirect_canonical() wp-includes/canonical.php | Redirects incoming links to the proper URL based on the site url. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/rawurlencode_deep