Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function nav_menu() {
- $args = array(
- 'theme_location' => has_nav_menu( 'primary' ) ? 'primary' : '',
- 'menu' => '',
- 'container' => '',
- 'container_class' => '',
- 'container_id' => '',
- 'menu_class' => '',
- 'menu_id' => '',
- 'echo' => false,
- 'before' => '',
- 'after' => '',
- 'link_before' => '',
- 'link_after' => '',
- 'items_wrap' => '<ul data-breakpoint="800" id="%1$s" class="%2$s">%3$s</ul>',
- 'depth' => 0,
- );
- return wp_nav_menu( $args );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement