wp_slash Wordpress function


Description:

Conditionally add slashes to a string or array of strings. When GPCS
slashing is turned on, slashes are added. When GPCS slashing is turned off,
slashes are not added.


Syntax:


Arguments:

(string|array) $value String or array of strings to slash.


Return Type:

(string|array) Slashed $value


Define At:

wp-includes/formatting.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_slash


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×