Shortcode: [bbp-single-forum]
[bbp-single-forum]
Display the contents of a specific forum.
Function Reference
- Usage
- [bbp-single-forum id=$id ]
- Parameters
- (int) $id – the id of the forum to display
- Returns
A structured list of forum contents
- Since
2.0.0
Examples
Show the forum index
HTML:
[bbp-single-forum id=123]
PHP :
<?php echo do_shortcode( '[bbp-single-forum id=123]' ); ?>
Source File
includes/common/shortcodes.php