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



twentytwentyone_html_classes › WordPress Filter Hooks

SinceTwenty Twenty-One 1.0
Deprecatedn/a
apply_filters( 'twentytwentyone_html_classes', '' )
Parameters:
  • (string) 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', '' );