bbp_reply_excerpt( int $reply_id, int $length = 100 )

Output the excerpt of the reply

Description

Parameters

$reply_id

(int) (Optional) Reply id

$length

(int) (Optional) Length of the excerpt. Defaults to 100 letters

Default value: 100

Source

File: bp-forums/replies/template.php

function bbp_reply_excerpt( $reply_id = 0, $length = 100 ) {
	echo bbp_get_reply_excerpt( $reply_id, $length );
}

Changelog

Changelog
Version Description
bbPress (r2751) 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.