WordPress custom menu walker for submenus

sub-menu to any <li> element in a menu that contains child elements, thus removing the need for manual input. Update: The codex also features an example of a custom walker which does not use regex to inject an extra class into parents, note that the example provided there requires PHP 5.3.0 or higher]]>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.