I have a list rendered by drupal(7)’s item-list theme hook, the output becomes something like:
<div class="item-list">
<ul>
<li> ... </li>
</ul>
</div>
This isn’t the structure I needed, is there a way I could override this particular hook so I can implement the rendering exactly I want it to?
To generalize, is there a way to override any theme hooks defined by drupal core?
Thanks.
Place the override in your template.php file and rebuild your theme registry when finished: