Hi,
I'm using this code for plugin QMT(Query Multiple Taxonomies) with checkbox, but it's not working:
$out .=
html( 'li',
get_taxonomy( $taxonomy )->label . ': '
.scbForms::input( array(
'type' => 'checkbox',
'name' => $taxonomy,
'values' => scbUtil::objects_to_assoc( $terms, 'slug', 'slug' ),
'selected' => qmt_get_query( $taxonomy ),
) )
);
The code was this originally in query-multiple-taxonomies/widget.php:
$out .=
html( 'li',
get_taxonomy( $taxonomy )->label . ': '
.scbForms::input( array(
'type' => 'select',
'name' => $taxonomy,
'values' => scbUtil::objects_to_assoc( $terms, 'slug', 'slug' ),
'selected' => qmt_get_query( $taxonomy ),
) )
);
Can anybody tell me how to solve this problem?