apply_filters( 'sanitize_html_class', string $sanitized, string $class, string $fallback )
Filters a sanitized HTML class string.
Parameters
- $sanitized
-  (string) The sanitized HTML class. 
- $class
-  (string) HTML class before sanitization. 
- $fallback
-  (string) The fallback string. 
Source
Changelog
| Version | Description | 
|---|---|
| 2.8.0 | Introduced. | 
    © 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/hooks/sanitize_html_class