[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-xprofile/classes/ -> class-bp-xprofile-user-admin.php (summary)

BuddyPress XProfile Admin Class.

File Size: 493 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_XProfile_User_Admin:: (9 methods):
  register_xprofile_user_admin()
  __construct()
  setup_actions()
  enqueue_scripts()
  register_metaboxes()
  user_admin_load()
  user_admin_profile_metaboxes()
  user_admin_spammer_metabox()
  user_admin_avatar_metabox()


Class: BP_XProfile_User_Admin  - X-Ref

Load xProfile Profile admin area.

register_xprofile_user_admin()   X-Ref
Setup xProfile User Admin.

since: 2.0.0
return: BP_XProfile_User_Admin

__construct()   X-Ref
Constructor method.

since: 2.0.0

setup_actions()   X-Ref
Set admin-related actions and filters.

since: 2.0.0

enqueue_scripts( $screen_id )   X-Ref
Enqueue needed scripts.

since: 2.3.0
param: int $screen_id Screen ID being displayed.

register_metaboxes( $user_id = 0, $screen_id = '', $stats_metabox = null )   X-Ref
Register the xProfile metabox on Community Profile admin page.

since: 2.0.0
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.

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.

since: 2.0.0
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.

user_admin_profile_metaboxes( $user = null, $args = array()   X-Ref
Render the xprofile metabox for Community Profile screen.

since: 2.0.0
param: WP_User|null $user The WP_User object for the user being edited.
param: array        $args Aray of arguments for metaboxes.

user_admin_spammer_metabox( $user = null )   X-Ref
Render the fallback metabox in case a user has been marked as a spammer.

since: 2.0.0
param: WP_User|null $user The WP_User object for the user being edited.

user_admin_avatar_metabox( $user = null )   X-Ref
Render the Avatar metabox to moderate inappropriate images.

since: 2.0.0
param: WP_User|null $user The WP_User object for the user being edited.



Generated: Sat Sep 21 01:01:46 2019 Cross-referenced by PHPXref 0.7.1