I have created a CPT which has a Yes/No field. I am building a custom page where users can change this Yes/No field in bulk. I am trying to pass values to this field but nothing sticks. I have tried values 0 and 1 as integers and strings, also the strings “Yes” and “No”.
I am saving the posts like this:
$pod = pods( 'pod_cpt', $post_id ); $data = array( 'item_sold' => $boolean, 'row' => $row, ); $pod->save( $data );
rowfield is being saved since it’s a text field, however the
item_soldfield is not.