bp_group_description_excerpt( object|bool $group = false, int $length = 225 )

Output an excerpt of the group description.

Description

Parameters

$group

(object|bool) (Optional) The group being referenced. Defaults to the group currently being iterated on in the groups loop.

Default value: false

$length

(int) (Optional) Length of returned string, including ellipsis. Default: 225.

Default value: 225

Source

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

function bp_group_description_excerpt( $group = false, $length = 225 ) {
	echo bp_get_group_description_excerpt( $group, $length );
}

Changelog

Changelog
Version Description
BuddyPress 1.0.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.