Programmatically get menu block & alter classes I'm invoking a menu block programmatically using:
    module_invoke('menu_block', 'block_view', 13);

What I want to do is change and add classes to the wrapper &amp; ul tags of the menu block, is this possible? I can't seem to find a class_array to add  &amp; have spent a significant amount of time looking through documentation &amp; online but not come up with a solution.
borrowed from here:

add the following code in your template.php file.

&lt;?php
  function THEME_menu_tree__main_menu($variables) {
    return '&lt;ul class="nav navbar-nav navbar-right"&gt;' . $variables['tree'] . '&lt;/ul&gt;';
  }
?&gt;


this would update the &lt;ul&gt; for main menu, adjust as necessary. You can adjust further up the chain within the page.tpl.php file.