Home Forums General Issues Updating ACF fields not in a post Reply To: Updating ACF fields not in a post

  • Here is the attached XML file.

    I can see the issue with the buddypress function I have used, is that it echoes straight to the screen, but not into the variable I have used. Anyway, here are the var_dumps

    $field_name = string(19) “field_57c39d2c478be”
    $bio = NULL
    $post_id = int(2235)

    I used the incorrect function I had bp_profile_field_data when it should have been bp_get_profile_field_data. Now all outputs and updates correctly.

    Now to work on the remainder of the fields to get them to update!!