[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress XProfile Admin Class.
File Size: | 386 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_XProfile_User_Admin:: (7 methods):
register_xprofile_user_admin()
__construct()
setup_actions()
register_metaboxes()
user_admin_load()
user_admin_profile_metaboxes()
user_admin_spammer_metabox()
Class: BP_XProfile_User_Admin - X-Ref
Load xProfile Profile admin area.register_xprofile_user_admin() X-Ref |
Setup xProfile User Admin. return: BP_XProfile_User_Admin since: 2.0.0 |
__construct() X-Ref |
Constructor method. since: 2.0.0 |
setup_actions() X-Ref |
Set admin-related actions and filters. since: 2.0.0 |
register_metaboxes( $user_id = 0, $screen_id = '', $stats_metabox = null ) X-Ref |
Register the xProfile metabox on Community Profile admin page. param: int $user_id ID of the user being edited. param: string $screen_id Screen ID to load the metabox in. param: object|null $stats_metabox Context and priority for the stats metabox. since: 2.0.0 |
user_admin_load( $doaction = '', $user_id = 0, $request = array() X-Ref |
Save the profile fields in Members community profile page. Loaded before the page is rendered, this function is processing form requests. param: string $doaction Action being run. param: int $user_id ID for the user whose profile is being saved. param: array $request Request being made. param: string $redirect_to Where to redirect user to. since: 2.0.0 since: 6.0.0 The `delete_avatar` action is now managed into BP_Members_Admin::user_admin_load(). |
user_admin_profile_metaboxes( $user = null, $args = array() X-Ref |
Render the xprofile metabox for Community Profile screen. param: WP_User|null $user The WP_User object for the user being edited. param: array $args Aray of arguments for metaboxes. since: 2.0.0 |
user_admin_spammer_metabox( $user = null ) X-Ref |
Render the fallback metabox in case a user has been marked as a spammer. param: WP_User|null $user The WP_User object for the user being edited. since: 2.0.0 |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |