attribute_escape – filter

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.

Parameters

.
( 2.0.6 ) . .
$safe_text
( string ) The text after it has been escaped. . . .
$text
( string ) The text prior to being escaped. . . .
API Letters: ,

Implementers