Skip to content

Instantly share code, notes, and snippets.

@jondcampbell
Created May 29, 2015 18:57
Show Gist options
  • Save jondcampbell/910136997638917eea86 to your computer and use it in GitHub Desktop.
Save jondcampbell/910136997638917eea86 to your computer and use it in GitHub Desktop.
get the label of ACF select field instead of value
echo get_field_object( 'select_field' )['choices'][ get_field( 'select_field' ) ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment