- This topic has 4 replies, 2 voices, and was last updated 2 months, 3 weeks ago by .
-
Topic
-
Hi!
Maybe there is a bug when using MB Custom Table with Select Advanced fields (multiple).When I write
$values = rwmb_meta( $field_id );
echo count($values);It always shows 1 unit more than the actual result.
For example:
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)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.