BBP_Replies_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 Replies', 'bbpress' ),
			'max_shown' => 5,
			'show_date' => false,
			'show_user' => false
		), 'replies_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.