I have a field group with 17 fields in it that has been connected to my user data for my WordPress registration form.
I’m wondering how to retrieve the field group values for a specific user as an array. I’m not finding anything in the documentation related to user data, or I’ve missed it.
I’m trying to collect the data so I can pass it to Active Campaign.
Feeling a bit confused.
figured this out. Found https://www.advancedcustomfields.com/resources/get_fields/ and the // Get values from user ID = 2.
$user_fields = get_fields( ‘user_2’ );
example on the page.