Block wrapping DIV disable with theme hook? I've managed to suppress the wrapping markup for a few blocks using 

block--block--1.tpl.php
region--banner.tpl.php

but now it's getting messy as I have several blocks which require no additional wrpaping markup so I would ideally like to do this in a theme function with a switch case...but can't find any example that works...

function front_preprocess_block(&amp;$vars, $hook) {

$to_delete = array('block-block-4');

//if(in_array($vars['block']-&gt;delta , $to_delete)) {
//  $vars['template_files'][0] = 'block-empty'; 
//}

print_r($vars);


}

I need to remove wrppaing DIV's for about 4 blocks onlys...ideas???
You can specify an additional variable in hook_preprocess_block() and check for that variable in block.tpl.php file, example: 

function front_preprocess_block(&amp;$vars, $hook) {
  //dpm($vars);
  $vars['must_be_removed'] = FALSE;
  if(/* CONDITION e.g. $vars['elements']['#block']-&gt;delta == 'MY_BLOCK_DELTA' */) {
    $vars['must_be_removed'] = TRUE;
  }
}


and block.tpl.php file;

&lt;?php if($must_be_removed): ?&gt;
  &lt;?php print $content ?&gt;
&lt;?php else: ?&gt;
&lt;div id="&lt;?php print $block_html_id; ?&gt;" class="&lt;?php print $classes; ?&gt;"&lt;?php print $attributes; ?&gt;&gt;

  &lt;?php print render($title_prefix); ?&gt;
&lt;?php if ($block-&gt;subject): ?&gt;
  &lt;h2&lt;?php print $title_attributes; ?&gt;&gt;&lt;span&gt;&lt;?php print $block-&gt;subject ?&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;?php endif;?&gt;
  &lt;?php print render($title_suffix); ?&gt;

  &lt;div class="content"&lt;?php print $content_attributes; ?&gt;&gt;
    &lt;?php print $content ?&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;