Un motore di ricerca WordPress per sviluppatori e autori di temi



js_escape ›

Da2.0.6
Deprecaton/a
apply_filters( 'js_escape', $safe_text, $text )
Parametri: (2)
  • (string) $safe_text The text after it has been escaped.
    Richiesto:
  • (string) $text The text prior to being escaped.
    Richiesto:
Definito a:
Codex:

Filters a string cleaned and escaped for output in JavaScript.

Text passed to esc_js() is stripped of invalid or special characters, and properly slashed for output.





Sorgenti

return apply_filters( 'js_escape', $safe_text, $text );