do_action_ref_array( 'bp_members_admin_xprofile_metabox', int $user_id , string $id , object $stats_metabox )
Fires before loading the profile fields if component is active.
Description
Plugins should not use this hook, please use ‘bp_members_admin_user_metaboxes’ instead.
Parameters
- $user_id
-
Current user ID for the screen.
- $id
-
Current screen ID.
- $stats_metabox
-
Object holding position data for use with the stats metabox.
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.