do_action( 'bp_set_member_type', int $user_id, string $member_type, bool $append )

Fires just after a user’s profile type has been changed.

Description

Parameters

$user_id

ID of the user whose profile type has been updated.

$member_type

profile type.

$append

Whether the type is being appended to existing types.

Source

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

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.