Changeset 2168 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 12/14/2009 03:24:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r2145 r2168 565 565 } 566 566 567 function bp_profile_field_data( $args = '' ) { 568 echo bp_get_profile_field_data( $args ); 569 } 570 function bp_get_profile_field_data( $args = '' ) { 571 $defaults = array( 572 'field' => false, // Field name or ID. 573 'user_id' => $bp->displayed_user->id 574 ); 575 576 $r = wp_parse_args( $args, $defaults ); 577 extract( $r, EXTR_SKIP ); 578 579 return apply_filters( 'bp_get_profile_field_data', xprofile_get_field_data( $field, $user_id ) ); 580 } 581 567 582 function bp_profile_group_tabs() { 568 583 global $bp, $group_name;
Note: See TracChangeset
for help on using the changeset viewer.