Retrieve custom field key:text pairs of the choices of Select field type
I have a custom field with field type “Select”. It has several possible values like:
0 : Other
1 : Books
2 : Movies
When I use get_post_meta() I only get the key value of a post (0, 1 or 2). I need to retrieve the text (Other, Books or Movies).
I’ve also tried get_post_custom() and other functions without success.
- The topic ‘Retrieve custom field key:text pairs of the choices of Select field type’ is closed to new replies.