protected function registerNavigation()
    {
        do_action("before_theme_register_navigation");

        foreach ($this->getConfig("navigation") as $name => $description):
            register_nav_menu($name, $description);
        endforeach;

        do_action("after_theme_register_navigation");
    }
protected function registerNavigation()
    {
        do_action("before_theme_register_navigation");

        foreach ($this->getConfig("navigation") as $name => $description):
            register_nav_menu($name, $description);
        endforeach;

        do_action("after_theme_register_navigation");
    }
protected function registerNavigation ( ) { do_action ( "before_theme_register_navigation" ) ; foreach ( $ this -> getConfig ( "navigation" ) as $ name => $ description ) : register_nav_menu ( $ name , $ description ) ; endforeach ; do_action ( "after_theme_register_navigation" ) ; }
Register navigation menus
Register navigation menus