Support

Account

Home Forums ACF PRO Get list of ACF fields Reply To: Get list of ACF fields

  • You can get a list of acf fields groups associated with a specific post. And then you can get a list of fields in each group

    
    // this has not been tested
    $field_groups = acf_get_fields(array('post_id' => $post_id));
    foreach ($groups as $group) {
      $fields_for_group = acf_get_fields($group['key']);
    }