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!!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.