• Resolved aviann

    (@aviann)


    Hi there!
    Using the update_field() function for the table field does not work with users. I had to solve this issue by modifying the plugin code with the following:

    // try user_meta
    if ( empty( $data ) ) {
    $data = get_user_meta( str_replace('user_', '', $post_id ), $field['name'], true );
    }

    I added it under the “// try term_meta” block and it fixed the issue. Could you please look into it and fix this when you have a chance? Or perhaps I was doing something wrong and there is a correct way to update this type of field for users?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘update_field does not work with users’ is closed to new replies.