BP_Core_Whos_Online_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-whos-online-widget.php
public function parse_settings( $instance = array() ) { return bp_parse_args( $instance, array( 'title' => __( "Who's Online", 'buddyboss' ), 'max_members' => 15, ), '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.