wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



attribute_escape › WordPress Filter Hooks

Seit2.0.6
Veraltetn/v
apply_filters( 'attribute_escape', $safe_text, $text )
Parameter: (2)
  • () safe_text The text after it has been escaped.
    Erforderlich: Ja
  • () text The text prior to being escaped.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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