Category select options for plugin settings

I think this is what you are looking for .

$cats = get_terms('category');
$blog_cats = array("all" => "All");
foreach ($cats as $cat) {
$blog_cats[$cat->name] = $cat->name;}

Then to show this

<?php echo aq_field_select('category', $block_id, $blog_cats, $category); ?>