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

Filters a user’s member type(s).


Parameters Parameters

$type

(string|array|bool) a single member type (if $single is true) or an array of member types (if $single is false) or false on failure.

$user_id

(int) ID of the user.

$single

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


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.