BP_Core_Members_Widget::parse_settings( array $instance = array() )
Merge the widget settings into defaults array.
Description
Parameters
- $instance
-
(Optional) Widget instance settings.
Default value: array()
Return
(array)
Source
File: bp-members/classes/class-bp-core-members-widget.php
public function parse_settings( $instance = array() ) { return bp_parse_args( $instance, array( 'title' => __( 'Members', 'buddyboss' ), 'max_members' => 5, 'member_default' => 'active', 'link_title' => false ), 'members_widget_settings' ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.3.0 | 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.