Menu
wpseek
mobile
Search
js_escape
js_escape is
deprecated
since version 2.8.0!
Alternative:
esc_js
()
js_escape
(
$text
)
Parameters:
(string)
text
The text to be escaped.
See:
esc_js
()
Returns:
(string) Escaped text.
Defined at:
wp-includes/deprecated.php
, line 2064
Introduced in WordPress:
2.0.4
Deprecated in WordPress:
2.8.0
Description
Escape single quotes, specialchar double quotes, and fix line endings.The filter {@see 'js_escape'} is also applied by esc_js().
Related Functions
tag_escape
,
like_escape
,
show_message
,
attribute_escape
,
esc_attr_e
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_render_empty_block_template_warning
My Bookmarks
- Soon -
About
Imprint
Privacy Policy