Core Function
View Source on Trac ↗ wp_unslash()
wp_unslash( mixed $value ) Removes slashes from a string or recursively removes slashes from strings within an array.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | array) $value String or array of data to unslash. Required |
Return Value
((string)
| array) Unslashed `$value`, in the same type as supplied.
Function Information
Since Version
3.6.0
Source File
wp-includes/formatting.php
Advertisement