How would I properly indent this code in PHP (I'm using WordPress)? I'm mostly concerned about how the <button>
comes into this equation @ items_wrap
.
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu( array(
'theme_location' => 'primary_navigation',
'container' => 'nav',
'container_class' => 'nav-primary',
'menu_class' => 'nav toggleable hide',
'items_wrap' => '<button class="dropdown-toggle script-dependant">'.__('Menu', 'yolk').'</button><ul id="%1$s" class="%2$s">%3$s</ul>',
'walker' => new detailed_navigational_menu_walker
) );
endif;
?>