Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




js_escape [ WordPress Function ]

js_escape ( $text )
Parameters:
  • (string) $text The text to be escaped.
See:
Returns:
  • (string) Escaped text.
Defined at:



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

The filter 'js_escape' is also applied by esc_js()

Source


<?php
function js_escape$text ) {
    
_deprecated_function__FUNCTION__'2.8''esc_js()' );
    return 
esc_js$text );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics