apply_filters( 'body_class', string[] $classes, string[] $class )

Filters the list of CSS body class names for the current post or page.


Description


Parameters

$classes

(string[]) An array of body class names.

$class

(string[]) An array of additional class names added to the body.


Top ↑

Source

File: wp-includes/post-template.php

View on Trac


Top ↑

Changelog

Version Description
2.8.0 Introduced.