do_action( 'bp_members_admin_user_metaboxes', bool $is_self_profile, int $user_id )

Fires at the end of the Community Profile screen.


Description 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 Parameters

$is_self_profile

Whether or not it is the current user's profile.

$user_id

Current user ID.


Top ↑

Source Source

File: bp-members/classes/class-bp-members-admin.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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