How to get multicheck field options
-
Hi,
I installed CMB2 from WordPress.org and activated it. I created a multicheck field of features for a custom post type. I would like to get an array of the options in that field (all the options) and display it as a list on a single post page. I managed to get an array of only the checked options using
get_post_meta()
. I tried using the functioncmb2_get_option('multicheck_field_ID')
but it does not work.Help is much appreciated.
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get multicheck field options’ is closed to new replies.