Creating QuickTabs programmatically not working I'm trying to create some QuickTabs programmatically like it's documented on the website, but for some reason, my code bellow doesn't generate QuickTabs at all!
What do I do wrong or am I looking at the wrong documentation here?

function quicktabsmenu_block_info() {
  $blocks['quicktabsmenu'] = array(
    'info' =&gt; t('Dynamic QuickTabs menu'), 
    'cache' =&gt; DRUPAL_NO_CACHE,
  );
  return $blocks;
}

function quicktabsmenu_block_view($delta = '') {
  $block = array();

  switch ($delta) {
    case 'quicktabsmenu':
       //set tab content
        $block['subject'] = t('Syndicate');
        $block['content'] = _create_quicktabs();
        return $block;
      break;
  }
  return $block;
}

function _create_quicktabs() {
  $tabs['tabcontent'] = array(
    'title' =&gt; t('Tab 1'),
    'type' =&gt; 'freetext',
    'text' =&gt; t('Free text'),
  );
  $quicktabs['qtid'] = 'my_new_quicktabs';
  $quicktabs['tabs'] = $tabs;
  $quicktabs['style'] = 'Zen';
  $quicktabs['ajax'] = FALSE;;
  $var = theme('quicktabs', $quicktabs);
  return $var;
}
Well, after some thinking and searching, I managed to solve my own question. All I needed was this:  

$tabs = array(
   $tabs[] = array(
      'title'   =&gt; t('Tab one'),
      'type'    =&gt; 'node',
      'nid'     =&gt; '24',
      'weight'  =&gt; 0,
    ),
    $tabs[] = array(
      'title'   =&gt; t('Tab two'),
      'type'    =&gt; 'node',
      'nid'     =&gt; '23',
      'weight'  =&gt; 1,
    ),
);

// Configure the QuickTabs options
$quicktabs_options = array(
   'style'   =&gt; 'Bullets',
   'ajax'    =&gt; FALSE,
);

$quicktabs_name = 'dynamic_quicktabs_menu';
$quicktabs = quicktabs_build_quicktabs($quicktabs_name, $quicktabs_options, $tabs);
return $quicktabs;