• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • Sample Page

WordPress Tips

Just another WordPress site

Get an Array of Values from an ACF Repeater Choice SubField

September 15, 2017 Leave a Comment

WP Beaches ~

Get an array of values from an ACF repeater sub-field choice box to use further in your code.

So in the sap_colors sub-field above I want to capture the red,blue and green values into an array and have that array reflect any further additions or deletions. You can get this via get_sub_field_object() function and you have to

Filed Under: ACF, array, repeater, WordPress Tagged With: ACF, array, repeater, WordPress

Reader Interactions

Related Posts

  • Media Temple Managed WordPress Hosting: Overview and Review
  • Hotjar Heatmap Analytics: An Overview and Review
  • How to Use a Heatmap to Improve Your Website’s Overall Quality
  • GreenGeeks Eco-Friendly Hosting: An Overview and Review

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Copyright ©2019 · WPress.Tips - All Rights Are Reserved · Powered by Genesis Framework