apply_filters( 'sanitize_html_class', string $sanitized, string $classname, string $fallback )

Filters a sanitized HTML class string.


Parameters

$sanitized string
The sanitized HTML class.
$classname string
HTML class before sanitization.
$fallback string
The fallback string.

Top ↑

Source

File: wp-includes/formatting.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

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