Un motore di ricerca WordPress per sviluppatori e autori di temi



attribute_escape ›

Da2.0.6
Deprecaton/a
apply_filters( 'attribute_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 an HTML attribute.

Text passed to esc_attr() is stripped of invalid or special characters before output.





Sorgenti

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