Created
May 29, 2015 18:57
-
-
Save jondcampbell/910136997638917eea86 to your computer and use it in GitHub Desktop.
get the label of ACF select field instead of value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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