Retrieve custom field key:text pairs of the choices of Select field type (1 post)

  1. Acelgafrita
    Posted 3 years ago #


    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.

    Some suggestion?

Topic Closed

This topic has been closed to new replies.

About this Topic