This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_nav_wrap() { | |
// default value of 'items_wrap' is <ul id="%1$s" class="%2$s">%3$s</ul>' | |
// open the <ul>, set 'menu_class' and 'menu_id' values | |
$wrap = '<ul id="%1$s" class="%2$s">'; | |
// get nav items as configured in /wp-admin/ | |
$wrap .= '%3$s'; |