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



twentyeleven_layout_classes ›

SinceTwenty Eleven 1.0
已弃用n/a
apply_filters( 'twentyeleven_layout_classes', $classes, $current_layout )
参数: (2)
  • (array) $classes An array of body classes.
    Required: Yes
  • (string) $current_layout The current theme layout.
    Required: Yes
定义在:
文档:

Filter the Twenty Eleven layout body classes.





源码

$classes = apply_filters( 'twentyeleven_layout_classes', $classes, $current_layout );