sanitize_html_class

sanitize_html_class

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('sanitize_html_class') is found 1 times:

  • /wp-includes/formatting.php line 2436
    	 * @param string $sanitized The sanitized HTML class.
    	 * @param string $classname HTML class before sanitization.
    	 * @param string $fallback  The fallback string.
    	 */
    	return apply_filters( 'sanitize_html_class', $sanitized, $classname, $fallback );
    }
    
    /**
     * Strips out all characters not allowed in a locale name.
     *
     * @since 6.2.1