public function clean(Composer $composer)
    {
        $rootPkg = $composer->getPackage();
        $extra = $rootPkg->getExtra();
        
        if (! isset($extra['wordpress-install-dir'])) {
            return;
        }
        
        $filesystem = new Filesystem();
        $filesystem->remove($extra['wordpress-install-dir'] . '/wp-content');
    }