Support

Account

Home Forums Front-end Issues Problem with front end user edit

Unread

Problem with front end user edit

  • Hi, I want to edit user from front end (acf_form). Editing works for posts, but not for users. `$data[‘acf_form_params’] = [
    ‘post_id’ => ‘user_165’,

    ‘fields’ => [
    /* USER */
    ‘1’ => ‘field_59687ee7daaa5’,
    ‘2’ => ‘field_59687f7c6f692’,
    ‘3’ => ‘field_59687fc96f694’,
    ‘4’ => ‘field_59687fee6f695’,
    ‘5’ => ‘field_596880186f696’,
    ‘6’ => ‘field_5968804d6f698′,

    /* Second common group */
    ’10’ => ‘field_596880486f697′,
    ’11’ => ‘field_596880526f699′,
    ’12’ => ‘field_596880c56f69a’,
    ’13’ => ‘field_599d2f6b89856’,

    ],

    ‘submit_value’ => ‘Update’
    ];`
    This code returns all user meta values but does not saves new values.

Viewing 1 post (of 1 total)

The topic ‘Problem with front end user edit’ is closed to new replies.