How to remove custom block parent div's? I have created custom block in my custom module. I have created block template file into module templates folder. Custom block content coming successfully as per given in block__MODULENAME__dummmy_xyz.tpl.php file. I have only added following code into my block tpl file:

&lt;div class="wrapperDummy"&gt;Hello&lt;/div&gt;


But it is coming with block parent div's, Block id and block-inner tag. I dont want to show those extra div's.
Following is the hook_theme which I have in my module file:

/*
 * Implements hook_theme().
 */
function MODULENAME_theme($existing, $type, $theme, $path) {

    $items = array();

    $items['MODULENAME_dummmy_xyz_block_theme'] = array(
        'type' =&gt; 'theme',
        'path' =&gt; drupal_get_path('module', 'MODULENAME') . '/templates',
        'template' =&gt; 'block__MODULENAME__dummmy_xyz',
        'variables'  =&gt; array()
    );
    return $items;
}


I am rendering block into tpl using,

$block = block_load('MODULENAME','dummmy_xyz');
print drupal_render(_block_get_renderable_array(_block_render_blocks(array($block))));


block.tpl.php code:

&lt;?php print $outer_prefix . $inner_prefix; ?&gt;
  &lt;?php print render($title_prefix); ?&gt;

  &lt;?php if ($title): ?&gt;
    &lt;h2&lt;?php print $title_attributes; ?&gt;&gt;&lt;?php print $title; ?&gt;&lt;/h2&gt;
  &lt;?php endif; ?&gt;

  &lt;?php print $content_processed; ?&gt;

  &lt;?php print render($title_suffix); ?&gt;
&lt;?php print $inner_suffix . $outer_suffix; ?&gt;


Kindly guide me.
_block_get_renderable_array function render default block theme where I couldn't remove parent element, So I made it by using module_invoke function:

$block = module_invoke('custom_module_name', 'block_view', 'block_name');
              print render($block['content']);