bbPress Statistics Widget.

Adds a widget which displays the forum statistics.

since 2.3.0 bbPress (r4509)
package bbPress

 Methods

bbPress Statistics Widget.

__construct() 

Registers the statistics widget.

since 2.3.0 bbPress (r4509)

Output the statistics widget options form.

form($instance) : string | void
since 2.3.0 bbPress (r4509)

Parameters

$instance

Returns

stringvoid

Merge the widget settings into defaults array.

parse_settings($instance = array()
since 2.3.0 bbPress (r4802)

Parameters

$instance

Instance.

Register the widget.

register_widget() 
Static
since 2.3.0 bbPress (r4509)

Update the statistics widget options.

update(array $new_instance, array $old_instance) : array
since 2.3.0 bbPress (r4509)

Parameters

$new_instance

array

The new instance options.

$old_instance

array

The old instance options.

Returns

array

Displays the output, the statistics.

widget(array $args = array(), array $instance = array()
since 2.3.0 bbPress (r4509)

Parameters

$args

array

Arguments.

$instance

array

Instance.