addslashes_gpc( string $gpc )

Adds slashes to escape strings.

Description Description

Slashes will first be removed if magic_quotes_gpc is set, see for more details.

Parameters Parameters


(string) (Required) The string returned from HTTP request data.

Top ↑

Return Return

(string) Returns a string escaped with slashes.

The files of WordPress characterize many helpful PHP functions. A portion of the functions, known as Template Tags, are characterized particularly for use in WordPress Themes. There are likewise a few functions identified with actions and filters (the Plugin API), which are in this way utilized principally for creating Plugins. The rest are utilized to make the core WordPress functionality. Huge numbers of the core WordPress functions are helpful to Plugin and Theme developers.