wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



js_escape › WordPress Filter Hooks

Da2.0.6
Deprecaton/a
› apply_filters( 'js_escape', $safe_text, $text )
Parametri: (2)
  • () safe_text The text after it has been escaped.
    Richiesto: Sì
  • () text The text prior to being escaped.
    Richiesto: Sì
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 );