BBP_Stats_Widget::__construct()
Forums Stats Widget
Description
Registers the stats widget
Source
File: bp-forums/common/widgets.php
public function __construct() {
$widget_ops = apply_filters( 'bbp_stats_widget_options', array(
'classname' => 'widget_display_stats',
'description' => __( 'Some statistics from your forum.', 'buddyboss' )
) );
parent::__construct( false, __( '(BB) Forum Statistics', 'buddyboss' ), $widget_ops );
}
Changelog
| Version | Description |
|---|---|
| bbPress (r4509) | 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.