Open adleviton opened 7 years ago
How/where/when are you retrieving these arrays?
$mypod = pods( 'communities', 3 );
$community_amenities = $mypod->get_field('community_amenities');
Above is what I have in a Wordpress template file.
I'll see what I can find out, it's on my today/tomorrow pile.
Be sure to use ->field
not ->get_field
@adleviton: have you had the opportunity to test if the field()
method works properly for you? This could still be an issue with the deprecated get_field()
but if field()
works properly we can probably punt this to 2.7.1.
Using $mypod->field
instead of $mypod->get_field
works just fine. Thanks!
@sc0ttkclark: the remaining question keeping this open was whether we have a backcompat issue with get_field()
that needs action.
No further discussion happened :D @sc0ttkclark can we close it?
I've set up a pod that has a few custom defined lists and they are displayed as multi-select checkboxes.
When the first item is checked, you'd get an array returned as expected:
However, when the first item is not checked (and more than one item is checked), you receive a multi-dimensional array.
Anyone else experiencing this?