apply_filters( 'bp_get_member_types', array $types , array $args , string $operator )
Filters the array of profile type objects.
Description
This filter is run before the $output filter has been applied, so that filtering functions have access to the entire profile type objects.
Parameters
- $types
-
profile type objects, keyed by name.
- $args
-
Array of key=>value arguments for filtering.
- $operator
-
'or' to match any of $args, 'and' to require all.
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.