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_1016', 10, 3 );
function filter_function_name_1016( $sanitized, $class, $fallback ){
	// filter...

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

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.