apply_filters( 'bp_get_member_type', string $type , int $user_id , bool $single )
Filters a user’s profile type(s).
Description
Parameters
- $type
-
profile type.
- $user_id
-
ID of the user.
- $single
-
Whether to return a single type string, or an array.
Source
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.