<!--[nav/header-nav-burger]-->

<ul class="burger-body">

    <?php

        wp_nav_menu(
            [
                'theme_location'  => 'burger_menu_1',
                'container'       => false,
                'echo'            => true,
                'items_wrap'      => '%3$s',
                'depth'           => 0,
                'walker'          => new Profile_Menu_Walker()
            ]
        );

    ?>

    <li class="burger-menu burger-menu__black p-none">
        <input type="checkbox" name="toggle" class="toggleSubmenu" id="sub_burger<?= $args["type"] ?>">
        <label for="sub_burger<?= $args["type"] ?>" class="toggleSubmenu">
            <span> Другие рубрики </span>
            <span></span>
            <span class="arrow"></span>
        </label>

        <ul class="burger-body__sub">

            <?php

                wp_nav_menu(
                    [
                        'theme_location'  => 'other_categories',
                        'container'       => false,
                        'echo'            => true,
                        'items_wrap'      => '%3$s',
                        'depth'           => 0,
                        'walker'          => new Profile_Menu_Walker()
                    ]
                );

            ?>

        </ul>
    </li>

    <li class="separator_line"></li>

    <?php

        wp_nav_menu(
            [
                'theme_location'  => 'burger_menu_2',
                'container'       => false,
                'echo'            => true,
                'items_wrap'      => '%3$s',
                'depth'           => 0,
                'walker'          => new Profile_Menu_Walker()
            ]
        );

    ?>

</ul>

<!--[/nav/header-nav-burger]-->