addslashes_gpc( string|array $gpc )
Adds slashes to a string or recursively adds slashes to strings within an array.
Parameters
- $gpc
-
(Required) String or array of data to slash.
Return
(string|array) Slashed $gpc
.
Source
File: wp-includes/formatting.php
function addslashes_gpc( $gpc ) {
return wp_slash( $gpc );
}
Changelog
Version | Description |
---|---|
0.71 | Introduced. |