bp_members_register_widgets()

Register bp-members widgets.

Description

Previously, these widgets were registered in bp-core.

Source

File: bp-members/bp-members-widgets.php

function bp_members_register_widgets() {
	add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Members_Widget' );         } );
	add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Whos_Online_Widget' );     } );
	add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Recently_Active_Widget' ); } );
}

Changelog

Changelog
Version Description
BuddyPress 2.2.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.