BBP_Topics_Widget::parse_settings( $instance = array() )

Merge the widget settings into defaults array.


Description Description


Parameters Parameters

$instance

(Optional) Instance

Default value: array()


Top ↑

Source Source

File: includes/common/widgets.php

	public function parse_settings( $instance = array() ) {
		return bbp_parse_args( $instance, array(
			'title'        => esc_html__( 'Recent Topics', 'bbpress' ),
			'max_shown'    => 5,
			'show_date'    => false,
			'show_user'    => false,
			'parent_forum' => 'any',
			'order_by'     => false
		), 'topic_widget_settings' );
	}

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.