js_escape Wordpress function


Description:

Escape single quotes, specialchar double quotes, and fix line endings.


Syntax:


Arguments:

(string) $text The text to be escaped.


Return Type:

(string) Escaped text.


Define At:

wp-includes/deprecated.php


Wordpress Reference URL:

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


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