BBP_Stats_Widget::__construct()

bbPress Statistics Widget


Description Description

Registers the statistics widget


Source Source

File: includes/common/widgets.php

	public function __construct() {
		$widget_ops = apply_filters( 'bbp_stats_widget_options', array(
			'classname'                   => 'widget_display_stats',
			'description'                 => esc_html__( 'Some statistics from your forum.', 'bbpress' ),
			'customize_selective_refresh' => true
		) );

		parent::__construct( false, esc_html__( '(bbPress) Statistics', 'bbpress' ), $widget_ops );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.