bbp_topic_excerpt( int $topic_id, int $length = 100 )
Output the excerpt of the topic
Description
Parameters
- $topic_id
-
(Optional) Topic id
- $length
-
(Optional) Length of the excerpt. Defaults to 100 letters
Default value: 100
Source
File: bp-forums/topics/template.php
function bbp_topic_excerpt( $topic_id = 0, $length = 100 ) { echo bbp_get_topic_excerpt( $topic_id, $length ); }
Changelog
Version | Description |
---|---|
bbPress (r2780) | 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.