src/Core/ThemeManager.php
public function sidebars($sidebars = [])
    {
        if (empty($sidebars)) {
            return $this;
        }

        if (function_exists('register_sidebar')) {
            foreach ($sidebars as $sidebar) {
                register_sidebar($sidebar);
            }
        }

        return $this;
    }
public function sidebars($sidebars = [])
    {
        if (empty($sidebars)) {
            return $this;
        }

        if (function_exists('register_sidebar')) {
            foreach ($sidebars as $sidebar) {
                register_sidebar($sidebar);
            }
        }

        return $this;
    }
public function sidebars ( $ sidebars = [ ] ) { if ( empty ( $ sidebars ) ) { return $ this ; } if ( function_exists ( 'register_sidebar' ) ) { foreach ( $ sidebars as $ sidebar ) { register_sidebar ( $ sidebar ) ; } } return $ this ; }
Register theme sidebars.

@param array $sidebars

@return $this
Register theme sidebars .