I can populate selectbox options like this:
<?php
$args = array(
'taxonomy' => array(
'country',
),
'hide_empty' => 0,
'name' => 'country'
);
?>
<?php wp_dropdown_categories($args); ?>
But the problem is how to make a checkbox list instead of a dropdown?
I mean something like this: