public function addMenu($key, $description)
    {
        // Check description
        $description = empty($description) ? $key : $description;

        // Register menu navigation
        register_nav_menu($key, $description);
    }
public function addMenu($key, $description)
    {
        // Check description
        $description = empty($description) ? $key : $description;

        // Register menu navigation
        register_nav_menu($key, $description);
    }
public function addMenu ( $ key , $ description ) { // Check description $ description = empty ( $ description ) ? $ key : $ description ; // Register menu navigation register_nav_menu ( $ key , $ description ) ; }
Register sidebar to WP.

@param string $key
@param string $description
Register sidebar to WP .