Reply To: Meta Values


Ernest Marcinko


Searching won’t be possible for sure, as the information is serialized. That is not possible to search with the MySQL database.

I understand the information, but it won’t help in your case. There must be some kind of function or a class function that can retrieve the option values based on the custom field name/value, something like:

get_option_display_value($user_id, 'peepso_user_field_3197', 'option_3197_2'); // returns 'Afghanistan'

Or simply just something that translates the option into the value, like:


If any similar function/class method exists, then let me know.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)