Uma área de pesquisa sobre o WordPress para devs e autores do tema



addslashes_gpc ›

Desde0.71
Obsoleton/a
addslashes_gpc ( $gpc )
Parâmetros:
  • (string) $gpc The string returned from HTTP request data.
    Required: Yes
Retorna:
  • (string) Returns a string escaped with slashes.
Definido em:
Codex:

Adds slashes to escape strings.

Slashes will first be removed if magic_quotes_gpc is set, see {@link https://secure.php.net/magic_quotes} for more details.



Fonte

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