public function register()
    {
        $parameters = [
            'name' => $this->getSingular(),
            'id' => $this->getSlug(),
        ];

        return register_sidebar(array_merge($this->getArguments(), $parameters));
    }
public function register()
    {
        $parameters = [
            'name' => $this->getSingular(),
            'id' => $this->getSlug(),
        ];

        return register_sidebar(array_merge($this->getArguments(), $parameters));
    }
public function register ( ) { $ parameters = [ 'name' => $ this -> getSingular ( ) , 'id' => $ this -> getSlug ( ) , ] ; return register_sidebar ( array_merge ( $ this -> getArguments ( ) , $ parameters ) ) ; }
Register widget area.

@return int
Register widget area .