addslashes_gpc()
Adds slashes to a string or recursively adds slashes to strings within an array.
No Hooks.
Return
String|Array
. Slashed $gpc.
Usage
addslashes_gpc( $gpc );
- $gpc(string|array) (required)
- String or array of data to slash.
Changelog
Since 0.71 | Introduced. |
addslashes_gpc() addslashes gpc code WP 6.7.1
function addslashes_gpc( $gpc ) { return wp_slash( $gpc ); }