Core Function
View Source on Trac ↗ urlencode_deep()
urlencode_deep( mixed $value ) Navigates through an array, object, or scalar, and encodes the values to be used in a URL.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $value mixed | The array or string to be encoded. Required |
Return Value
(mixed)
The encoded value.
Function Information
Since Version
2.2.0
Source File
wp-includes/formatting.php
Advertisement