Home Forums Front-end Issues acf_form on edit user profile


acf_form on edit user profile

  • Dear,
    I am using Advance Custom Fields to create a new fields within the members profiles.
    I want create forum for user can editing his personal information as email,username , firstname , ….and editing the custom fields.
    I used this 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’

    how I can add the wordpress default personal info fields (firstname,username ,password ….) in the same fourm

    acf_form( $options );

Viewing 1 post (of 1 total)

The topic ‘acf_form on edit user profile’ is closed to new replies.