BBP_Replies_Widget::__construct()

Forums Replies Widget

Description

Registers the replies widget

Source

File: bp-forums/common/widgets.php

1176
1177
1178
1179
1180
1181
1182
1183
public function __construct() {
    $widget_ops = apply_filters( 'bbp_replies_widget_options', array(
        'classname'   => 'widget_display_replies',
        'description' => __( 'A list of the most recent replies.', 'buddyboss' )
    ) );
 
    parent::__construct( false, __( '(BB) Forum Recent Replies', 'buddyboss' ), $widget_ops );
}

Changelog

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