Core Function
View Source on Trac ↗ addslashes_gpc()
addslashes_gpc( mixed $gpc ) Adds slashes to a string or recursively adds slashes to strings within an array.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | array) $gpc String or array of data to slash. Required |
Return Value
((string)
| array) Slashed `$gpc`.
Function Information
Since Version
0.71
Source File
wp-includes/formatting.php
Advertisement