Skip to:
Content

BuddyPress.org

Changeset 11898


Ignore:
Timestamp:
03/14/2018 10:37:15 AM (7 years ago)
Author:
djpaul
Message:

XProfile: improve phpdoc of bp_has_profile().

Fixes #7708

Props antonioeatgoat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r11692 r11898  
    2222 *     Array of arguments. See BP_XProfile_Group::get() for full description. Those arguments whose defaults differ
    2323 *     from that method are described here:
     24 *     @type int          $user_id                Default: ID of the displayed user.
    2425 *     @type string|array $member_type            Default: 'any'.
     26 *     @type int|bool     $profile_group_id       Default: false.
    2527 *     @type bool         $hide_empty_groups      Default: true.
    2628 *     @type bool         $hide_empty_fields      Defaults to true on the Dashboard, on a user's Edit Profile page,
    2729 *                                                or during registration. Otherwise false.
     30 *     @type bool         $fetch_fields           Default: true.
     31 *     @type bool         $fetch_field_data       Default: true.
    2832 *     @type bool         $fetch_visibility_level Defaults to true when an admin is viewing a profile, or when a user is
    2933 *                                                viewing her own profile, or during registration. Otherwise false.
    30  *     @type bool         $fetch_fields           Default: true.
    31  *     @type bool         $fetch_field_data       Default: true.
     34 *     @type int|bool     $exclude_groups         Default: false.
     35 *     @type int|bool     $exclude_fields         Default: false
     36 *     @type bool         $update_meta_cache      Default: true.
    3237 * }
    3338 *
Note: See TracChangeset for help on using the changeset viewer.