WordPress at a glance
filter is not described

attribute_escape filter-hook . WP 2.0.6

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.

Usage

add_filter( 'attribute_escape', 'filter_function_name_1191', 10, 2 );
function filter_function_name_1191( $safe_text, $text ){
	// filter...

	return $safe_text;
}
$safe_text(string)
The text after it has been escaped.
$text(string)
The text prior to being escaped.

Changelog

Since 2.0.6 Introduced.

Where the hook is called

esc_attr()
attribute_escape
wp-includes/formatting.php 4391
return apply_filters( 'attribute_escape', $safe_text, $text );

Where the hook is used (in WP core)

Usage not found!