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

Merge the widget settings into defaults array.

Parameters Parameters


(array) (Optional) Widget instance settings.

Default value: array()

Top ↑

Return Return


Source Source

File: bp-members/classes/class-bp-core-recently-active-widget.php

	public function parse_settings( $instance = array() ) {
		return bp_parse_args( $instance, array(
			'title' 	     => __( 'Recently Active Members', 'buddypress' ),
			'max_members' 	 => 15,
		), 'recently_active_members_widget_settings' );

Top ↑

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.