Support

Account

Home › Forums › General Issues › Getting fields directly from DB › Reply To: Getting fields directly from DB

  • 
    $loop_member_id = $members_list[$k]->term_id;
    
    // get the company_display_name
    $company_display_name = get_field('company_display_name', 'term_'.$loop_member_id);