bp_members_register_activity_actions()

Register the ‘new member’ activity type.

Description

Source

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

function bp_members_register_activity_actions() {

	bp_activity_set_action(
		buddypress()->members->id,
		'new_member',
		__( 'New member registered', 'buddyboss' ),
		'bp_members_format_activity_action_new_member',
		__( 'New Members', 'buddyboss' ),
		array( 'activity' )
	);

	/**
	 * Fires after the default 'new member' activity types are registered.
	 *
	 * @since BuddyPress 2.2.0
	 */
	do_action( 'bp_members_register_activity_actions' );
}

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.