Skip to:
Content

BuddyPress.org

Changeset 6218


Ignore:
Timestamp:
07/31/2012 09:34:11 PM (12 years ago)
Author:
boonebgorges
Message:

Improved documentation in member-header.php

In member-header.php template, we suggest to theme authors that they can
include arbitrary profile data by calling a template function. Previously
we recommended bp_profile_field_data(). But this function, when called on a
field that contains values stored in an array, does not make the array
presentable. The newer bp_member_profile_data() is better for this purpose.
This changeset updates the documentation accordingly.

Fixes #4319

Props hnla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/member-header.php

    r6166 r6218  
    5252        /***
    5353         * If you'd like to show specific profile fields here use:
    54          * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
     54         * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    5555         */
    5656         do_action( 'bp_profile_header_meta' );
Note: See TracChangeset for help on using the changeset viewer.