- This topic has 2 replies, 2 voices, and was last updated 1 year, 9 months ago by .
-
Topic
-
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’.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.