Changeset 10785 for trunk/src/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 05/19/2016 03:46:29 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-template.php
r10780 r10785 74 74 * 75 75 * @since 1.1.0 76 * @since 2.6.0 Added the `$r` parameter. 76 77 * 77 78 * @param bool $has_groups Whether or not there are group profiles to display. 78 79 * @param string $profile_template Current profile template being used. 79 */ 80 return apply_filters( 'bp_has_profile', $profile_template->has_groups(), $profile_template ); 80 * @param array $r Array of arguments passed into the BP_XProfile_Data_Template class. 81 */ 82 return apply_filters( 'bp_has_profile', $profile_template->has_groups(), $profile_template, $r ); 81 83 } 82 84 … … 883 885 * 884 886 * @since 1.6.0 887 * @since 2.6.0 Added the `$level` parameter. 885 888 * 886 889 * @param string $retval Field visibility level label. 887 */ 888 return apply_filters( 'bp_get_the_profile_field_visibility_level_label', $fields[ $level ]['label'] ); 890 * @param string $level Field visibility level. 891 */ 892 return apply_filters( 'bp_get_the_profile_field_visibility_level_label', $fields[ $level ]['label'], $level ); 889 893 } 890 894 … … 942 946 * 943 947 * @since 1.2.0 948 * @since 2.6.0 Added the `$r` parameter. 944 949 * 945 950 * @param mixed $value Profile data for a specific field for the user. 946 */ 947 return apply_filters( 'bp_get_profile_field_data', xprofile_get_field_data( $r['field'], $r['user_id'] ) ); 951 * @param array $r Array of parsed arguments. 952 */ 953 return apply_filters( 'bp_get_profile_field_data', xprofile_get_field_data( $r['field'], $r['user_id'] ), $r ); 948 954 } 949 955
Note: See TracChangeset
for help on using the changeset viewer.