BBP_Views_Widget::__construct()

Forums View Widget

Description

Registers the view widget

Source

File: bp-forums/common/widgets.php

	public function __construct() {
		$widget_ops = apply_filters( 'bbp_views_widget_options', array(
			'classname'   => 'widget_display_views',
			'description' => __( 'A list of registered optional discussion views.', 'buddyboss' )
		) );

		parent::__construct( false, __( '(BB) Forum Discussion Views List', 'buddyboss' ), $widget_ops );
	}

Changelog

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