Used By
Used By | Description |
---|---|
wp-includes/formatting.php: sanitize_html_class() | Sanitizes an HTML classname to ensure it only contains valid characters. |
Filters a sanitized HTML class string.
(string) The sanitized HTML class.
(string) HTML class before sanitization.
(string) The fallback string.
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_html_class