public function uninstallWordPressPlugin(PackageEvent $event)
    {
        if (! $this->isWordPressPlugin($this->getPackage($event))) {
            return;
        }
        
        static::$plugin->getInstanceOf(PluginInteractor::class)->uninstall(
            $event->getComposer(),
            $event->getIO(),
            preg_replace('/^wpackagist-plugin\//', '', $this->getPackageName($event))
        );
    }
public function uninstallWordPressPlugin(PackageEvent $event)
    {
        if (! $this->isWordPressPlugin($this->getPackage($event))) {
            return;
        }
        
        static::$plugin->getInstanceOf(PluginInteractor::class)->uninstall(
            $event->getComposer(),
            $event->getIO(),
            preg_replace('/^wpackagist-plugin\//', '', $this->getPackageName($event))
        );
    }
public function uninstallWordPressPlugin ( PackageEvent $ event ) { if ( ! $ this -> isWordPressPlugin ( $ this -> getPackage ( $ event ) ) ) { return ; } static :: $ plugin -> getInstanceOf ( PluginInteractor :: class ) -> uninstall ( $ event -> getComposer ( ) , $ event -> getIO ( ) , preg_replace ( '/^wpackagist-plugin\//' , '' , $ this -> getPackageName ( $ event ) ) ) ; }
Uninstall a WordPress plugin.

@param  \Composer\Installer\PackageEvent  $event
@return void
Uninstall a WordPress plugin .