wpseek.com
A WordPress-centric search engine for devs and theme authors



twentytwentyone_html_classes › WordPress Filter Hooks

Sincen/a
Deprecatedn/a
apply_filters( 'twentytwentyone_html_classes', '' )
Parameters:
  • () The list of classes. Default empty string.
    Required: Yes
Defined at:
Codex:

Filters the classes for the main <html> element.



Related Functions: sanitize_html_class


Source

$classes = apply_filters( 'twentytwentyone_html_classes', '' );