Filters a sanitized HTML class string.
$sanitizedstring
$classnamestring
$fallbackstring
return apply_filters( 'sanitize_html_class', $sanitized, $classname, $fallback );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_html_class