- This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by .
I have a field like this:
array( 'type' => 'checkbox_list', 'options' => array( 'some-value' => 'Some value', 'another-value' => 'Another value' ) )
rwmb_the_value() returns the values as an html ul and li list while rwmb_get_value() returns an array of keys instead of values. According to the documentation, that helper must returns an array of values, not the keys.
I need to format the values with other html tags, but with the given helpers, there is not an option to get 'Some value' and 'Another value' in an array instead of pre formatted in html. rwmb_get_value() only gives me an array with 'some-value' and 'another-value'.
- You must be logged in to reply to this topic.