apply_filters( ‘sanitize_html_class’, string $sanitized, string $classname, string $fallback )

In this article

Filters a sanitized HTML class string.

Parameters

$sanitizedstring
The sanitized HTML class.
$classnamestring
HTML class before sanitization.
$fallbackstring
The fallback string.

Source

return apply_filters( 'sanitize_html_class', $sanitized, $classname, $fallback );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.