Support

Account

Home Forums General Issues Creating additonal user profile fields Reply To: Creating additonal user profile fields

  • Hi,

    You could do this :

    <?php
    acf_form_head();
    get_header();
    $userID = get_current_user_id();
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    $options = array(
    												'field_groups' => array('your_field_group'),
    												'post_id' => 'user_'.$userID,
    												'updated_message' => __('Profil updated','your_namespace'),								);
    acf_form($options);
    
    get_footer();
    ?>