Support » Fixing WordPress » Buddypress Xprofile get field data checkbox returns array

  • Hi

    I am using the following to get a Buddypress members xprofile data displayed:

    <?php echo xprofile_get_field_data( 'Specialist Sectors', get_the_author_id()) ?>

    It works fine for xprofile fields that are free text, but the fields that are checkboxes, it simply returns ‘array’ to the front end.

    Is there a way to include this so it works?

    Thanks,

    Ian

  • The topic ‘Buddypress Xprofile get field data checkbox returns array’ is closed to new replies.