apply_filters( 'body_class', array $classes, array $class )

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


Parameters

$classes

An array of body classes.

$class

An array of additional classes added to the body.


Source

File: wp-includes/post-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.