BBP_Shortcodes::display_stats()
Display forum statistics
Description Description
Return Return
(string)
Source Source
File: includes/common/shortcodes.php
public function display_stats() {
// Unset globals
$this->unset_globals();
// Start output buffer
$this->start();
// Output statistics
bbp_get_template_part( 'content', 'statistics' );
// Return contents of output buffer
return $this->end();
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |