Im using buddypress. i need to return a value which is a custom profile
i have tested my code it works
but when i put it in a short code nothing appears!
echo bp_member_profile_data('field=Class Code');
what is wrong with this code?
echo works for anything else but i wonder why not for this value!