Home Forums General Issues Field data from openid Reply To: Field data from openid

  • Hi @pmflav

    You have to use update_field(...) method to populate the ACF fields.

    Hmm…. May be you could try this:

    $nickname = $data[‘data’][$account_id][“nickname”];
    $field_key = '<field_key>';
    $post_id = <post_id>;
    update_field($field_key, $nickname, $post_id);

    Remember to replace the $field_key and $post_id with the actual field_key and post_id respectively.

    Check out the documentation of update_field(…) for more information: