wp_list_table multiple checkboxes
I came up with this…I changed input fields to <input type=”checkbox” id=”%2$s” name=”post[%2$s][]” value=”%2$s” /> <input type=”checkbox” id=”image_%3$s” name=”post[%3$s][]” value=”%2$s” />’ …and added third parameter to column_image function ($item[‘ID’]) function column_image($item){ return sprintf( ‘<input type=”checkbox” id=”image_%3$s” name=”post[%3$s][]” value=”%2$s” />’, /*$1%s*/ $this->_args[‘singular’], /*$2%s*/ ‘yes’, /*$3%s*/ $item[‘ID’] ); } and with that I get array which use … Read more