I'm using Advanced Custom Fields plugin to create some extra fields in Wordpress User Profile. I want to update those user fields in frontend. For this i'm using below code.
<?php $options = array(
'post_id' => 'user_'.$current_user->ID,
'field_groups' => array(77),
'form' => true,
'return' => add_query_arg( 'updated', 'true', get_permalink() ),
'html_before_fields' => '',
'html_after_fields' => '',
'submit_value' => 'Update');acf_form( $options ); ?>
This code is displaying all the ACF fields in a form. But they are not updating in the current logged in user profile. When I click on Update button all the fields should be updated in current logged in user profile. Can any one help me in this please. What I'm missing!!!