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

Filters a sanitized HTML class string.


Description


Parameters

$sanitized

(string) The sanitized HTML class.

$class

(string) HTML class before sanitization.

$fallback

(string) The fallback string.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac


Top ↑

Changelog

Version Description
2.8.0 Introduced.