wpseek.com
A WordPress-centric search engine for devs and theme authors



addslashes_gpc › WordPress Function

Since0.71
Deprecatedn/a
addslashes_gpc ( $gpc )
Parameters:
  • (string|array) $gpc String or array of data to slash.
    Required: Yes
Returns:
  • (string|array) Slashed `$gpc`.
Defined at:
Codex:

Adds slashes to a string or recursively adds slashes to strings within an array.



Source

function addslashes_gpc( $gpc ) {
	return wp_slash( $gpc );
}