The get_field_object ACF function can be used to get info and options for a specific field.
First you need the field key of the specific field you wish to output. When editing a field group, click on the screen options tab at the top of the page. You should see an option to toggle the display of the field key (it is hidden by default to save space):

Once you have the key, you can load the field object and output its values:
$field_key = "field_5039a99716d1d";
$field = get_field_object($field_key);
if( $field )
{
echo '<select name="' . $field['key'] . '">';
foreach( $field['choices'] as $k => $v )
{
echo '<option value="' . $k . '">' . $v . '</option>';
}
echo '</select>';
}
Related Posts:
- If Custom Field is empty don’t display div
- Unique key for each row in a repeater field
- How to Explode a Textarea Field and Echo each line separately, wrapped with HTML
- Importing hard coded custom field into acf field
- Why do WP_Query results change after updating unrelated Advanced Custom Fields (ACF)?
- How to use thumbnail size of image if I’m only using src to get image
- Advanced Custom Fields – display label and value only if value entered
- Show ACF field with link to ultimate member profile/WordPress user profile below the post (single post layout)
- Creating an image from a custom field
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Including Custom fields within the_content
- Delete images from media library when user deletes an image from ACF Gallery
- Query on a repeater date (acf)
- ACF – Can’t get custom post type by taxonomy
- ACF Date fileds to Age Convert [closed]
- ACF number less than comparison not working
- Cannot Access ACF Field Values via my Plugin
- How to create advanced custom fields for backend content
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- Custom Meta Field – Youtube embed
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- How can i create a function to get youtube video time
- Getting movie and serial on actor page
- Match checkbox data with page title to show certain items
- Conditional statement for parent, child and grandchild pages
- Print html when custom field has value inside while loop
- Geocoding an Exploded Custom Field Array
- WooCommerce: update custom fields after checkout validation failure
- Sum custom field values of particular taxonomy
- ACF page while loop breaks footer while loop
- Saving an array of dynamic repeater data as post_meta
- Output ACF repeater on frontend user’s profile page (created with Ultimate Member) [closed]
- Unread Repeater field IMG alt not working
- How can I add extra word in permalink when someone click download button?
- Seach custom post type posts only by meta fields?
- Slick + PHP + ACF + JQuery slide reveal not working
- how to retrieve a value if a checkbox is checked
- Two queries for a WP_User_Query search work perfectly apart, but not together
- conditional logic for front-end custom field edits
- How to add specific meta tags to head of cart and checkout pages in woocommerce?
- Remove the last X characters of a custom field value
- Find a way to retrive data updated through metabox plugin to web page
- Why are the details of my todo not saving?
- Can’t save php string to a custom field
- ACF put a comma after the last repeater field value [closed]
- Changing the order of custom fields in the dashboard for Woocommerce variable products [closed]
- Handling repeater data
- How to add data to a custom field at the wp_users table?
- Conditional featured image with youtube thumbnail
- Add a counter for mouseovers (custom field)
- How can i make a search box to search by custom field
- Show field if it has contents on Advanced Custom Fields
- the_meta – no get_the_meta query?
- Display Custom Field in Sidebar if Value is Present
- Using a string from a custom field within a link
- Make separate text boxes for separate WordPress Custom Fields
- Update user repeater meta (ACF) with another user meta field value
- Dynamically added custom fields not displayed on WooCommerce email notifications
- How can I add diffrent editable text fields?
- Get main parent category for post (WordPress/Advanced Custom Fields)
- Display custom field value in woocommerce variable product via jQurey
- Include custom fields in search
- update_term_meta() only updating once on certain meta keys
- ACF Taxonomy field values not select in backend
- Use WPQuery to match to specific repeater row in post
- Generating 3 random numbers and saving them in database
- Advance custom fields variable with if statement & Function
- ElseIf Statement with ACF Group field
- Place product field value as variable in php
- ACF – Get ID of relationship field in flexible content
- Sum All the Post Meta of Published posts of Current Logged in user
- Get list of posts from attachment
- How to output values from a loop into a javascript array
- Pulling Products from an API
- Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled
- When working with a post, almost all wp_postmeta are deleted
- What syntax is this? “{{post.price}}”
- Ordering / grouping posts by datepicker ACF
- How to use something like meta_query but for fields?
- ACF Images If/else
- php if, else & custom fields – syntax error
- How to get the first letter from custom field?
- Meta box not saving spaces
- Page returning ID from array, how to return the correct values for post in acf wordpress
- custom field meta-box with dropdown/autocomplete
- If Elseif Query
- the_post_thumbnail unless video id is added
- Display selected parts from selected pages on the frontpage?
- ACF: Hide a div or template section when a custom field (in a field group) is empty
- Display custom meta box in my template file
- Add comma between variables [closed]
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- Too many if’s and else if’s ?? – Must be better way [closed]
- Advanced Custom Fields Show PHP in Text Areas
- WP query with variables gives no result for specific user
- Grabbing value of input field inside of array
- How can I get values from a custom post type depending on where I click on my SVG map?
- How can I change the location where the custom field is displayed in the Quick Edit tab in WordPress
- Exclude function for custom pages, exclude custom ACF fields
- Why does my custom slug only show in Gutenberg editor after page refresh?