BP_XProfile_User_Admin::register_xprofile_user_admin()
Setup xProfile User Admin.
Description Description
Return Return
Source Source
File: bp-xprofile/classes/class-bp-xprofile-user-admin.php
public static function register_xprofile_user_admin() { // Bail if not in admin. if ( ! is_admin() ) { return; } $bp = buddypress(); if ( empty( $bp->profile->admin ) ) { $bp->profile->admin = new self; } return $bp->profile->admin; }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |