wpseek.com
WordPress开发者和主题制作者的搜索引擎



twentytwentyone_html_classes › WordPress过滤钩子

SinceTwenty Twenty-One 1.0
已弃用n/a
apply_filters( 'twentytwentyone_html_classes', '' )
参数:
  • (string) The list of classes. Default empty string.
    Required: Yes
定义在:
文档:

Filters the classes for the main <html> element.



Related Functions: sanitize_html_class


源码

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