A WordPress-centric search engine for devs and theme authors



twentyeleven_layout_classes ›

SinceTwenty Eleven 1.0
Deprecatedn/a
apply_filters( 'twentyeleven_layout_classes', $classes, $current_layout )
Parameters: (2)
  • (array) $classes An array of body classes.
    Required: Yes
  • (string) $current_layout The current theme layout.
    Required: Yes
Defined at:
Codex:

Filter the Twenty Eleven layout body classes.





Source

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