Home Forums Feature Requests Return only ids from Gallery field


Return only ids from Gallery field

  • Similar to the other relational fields, or the image field, provide a return format option for just an array of attachment ids.

    When you have a lot of image sizes registered the array for each photo can get quite large.

    We are using get_field('flexible_content_field') which contains layouts that contain gallery fields so can’t use the get_field('gallery_field', null, false) to get the raw data.

Viewing 1 post (of 1 total)

The topic ‘Return only ids from Gallery field’ is closed to new replies.