Reply To: Members-loop
So you want to change the display format?
Get the value : $val = bp_get_member_profile_data( ‘field=the field name’ );
Then format it however you want, for example:
echo date('Y', strtotime($val) ) . ' years';
So you want to change the display format?
Get the value : $val = bp_get_member_profile_data( ‘field=the field name’ );
Then format it however you want, for example:
echo date('Y', strtotime($val) ) . ' years';