public function remove($name = null)
    {
        $plugins = $this->_list($name);

        foreach ($plugins as $plugin => $config) {
            $this->out();
            $this->out('For plugin: ' . $plugin);
            $this->hr();

            $this->_remove($config);
        }

        $this->out();
        $this->out('Done');
    }
public function remove($name = null)
    {
        $plugins = $this->_list($name);

        foreach ($plugins as $plugin => $config) {
            $this->out();
            $this->out('For plugin: ' . $plugin);
            $this->hr();

            $this->_remove($config);
        }

        $this->out();
        $this->out('Done');
    }
public function remove ( $ name = null ) { $ plugins = $ this -> _list ( $ name ) ; foreach ( $ plugins as $ plugin => $ config ) { $ this -> out ( ) ; $ this -> out ( 'For plugin: ' . $ plugin ) ; $ this -> hr ( ) ; $ this -> _remove ( $ config ) ; } $ this -> out ( ) ; $ this -> out ( 'Done' ) ; }
Remove plugin assets from app's webroot.

@param string|null $name Name of plugin for which to remove assets.
If null all plugins will be processed.
@return void
@since 3.5.12
Remove plugin assets from app s webroot .