- This topic has 3 replies, 2 voices, and was last updated 1 day, 1 hour ago by .
Maybe there is a bug when using MB Custom Table with Select Advanced fields (multiple).
When I write
$values = rwmb_meta( $field_id );
It always shows 1 unit more than the actual result.
I have 2 select advanced fields (multiple) A and B.
– A saves data in postmeta
– B saves data in a custom table.
I choose 2 items for each field when writing post.
With similar echo count($values) code, I get:
– A: 2 (correct)
– B: 3 (incorrect, there are only 2 items)
- You must be logged in to reply to this topic.