WordPress at a glance
filter is not described

sanitize_html_class filter-hook . WP 2.8.0

Filters a sanitized HTML class string.

Usage

add_filter( 'sanitize_html_class', 'filter_function_name_8151', 10, 3 );
function filter_function_name_8151( $sanitized, $class, $fallback ){
	// filter...

	return $sanitized;
}
$sanitized(string)
The sanitized HTML class.
$class(string)
HTML class before sanitization.
$fallback(string)
The fallback string.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

sanitize_html_class()
sanitize_html_class
wp-includes/formatting.php 2343
return apply_filters( 'sanitize_html_class', $sanitized, $class, $fallback );

Where the hook is used (in WP core)

Usage not found!