BBP_Forums_Widget::__construct()

Forums Forum Widget

Description

Registers the forum widget

Source

File: bp-forums/common/widgets.php

	public function __construct() {
		$widget_ops = apply_filters( 'bbp_forums_widget_options', array(
			'classname'   => 'widget_display_forums',
			'description' => __( 'A list of forums with an option to set the parent.', 'buddyboss' )
		) );

		parent::__construct( false, __( '(BB) Forums List', '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.