WordPress at a glance
filter is not described

body_class filter-hook . WP 2.8.0

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


add_filter( 'body_class', 'filter_function_name_5820', 10, 2 );
function filter_function_name_5820( $classes, $class ){
	// filter...

	return $classes;
An array of body class names.
An array of additional class names added to the body.

Where the hook is called

wp-includes/post-template.php 843
$classes = apply_filters( 'body_class', $classes, $class );

Where the hook is used (in WP core)

Использование не найдено.