apply_filters( 'bp_get_member_type', string $type, int $user_id, bool $single )

Filters a user’s profile type(s).

Description

Parameters

$type

(string) profile type.

$user_id

(int) ID of the user.

$single

(bool) Whether to return a single type string, or an array.

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.