BBP_Topics_Widget::parse_settings( $instance = array() )
Merge the widget settings into defaults array.
Description
Parameters
- $instance
-
(Optional) Instance
Default value: array()
Source
File: bp-forums/common/widgets.php
public function parse_settings( $instance = array() ) { return bbp_parse_args( $instance, array( 'title' => __( 'Recent Discussions', 'buddyboss' ), 'max_shown' => 5, 'show_date' => false, 'show_user' => false, 'parent_forum' => 'any', 'order_by' => false ), 'topic_widget_settings' ); }
Changelog
Version | Description |
---|---|
bbPress (r4802) | 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.