apply_filters( 'bp_get_the_body_class', array $classes, array $bp_classes, array $wp_classes, array $custom_classes )

Filters the BuddyPress classes to be added to body_class()

Description

Parameters

$classes

Array of body classes to add.

$bp_classes

Array of BuddyPress-based classes.

$wp_classes

Array of WordPress-based classes.

$custom_classes

Array of classes that were passed to get_body_class().

Source

File: bp-core/bp-core-template.php

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.