Support

Account

Home Forums ACF PRO Trying to populate select field with all tags on site Reply To: Trying to populate select field with all tags on site

  • get_tags() returns an array of term objects

    
    $tags = get_tags();
    foreach ($tags as $tag) {
      $choices[$tag->term_id] = $tag->name; 
    }