do_action( 'bp_members_admin_user_metaboxes', bool $is_self_profile , int $user_id )
Fires at the end of the Community Profile screen.
Description
Plugins can restrict metabox to "bp_moderate" admins by checking if the first argument ($this->is_self_profile) is false in their callback. They can also restrict their metabox to self profile editing by setting it to true.
Parameters
- $is_self_profile
-
Whether or not it is the current user's profile.
- $user_id
-
Current user ID.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.0.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.