apply_filters( 'bp_user_can_create_groups', bool $can_create , int $restricted )
Filters if the current logged in user can create groups.
Description
Parameters
- $can_create
-
Whether the person can create groups.
- $restricted
-
Whether or not group creation is restricted.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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.