protected function setWordPressInstallDirectory()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        $this->json['extra']['wordpress-install-dir'] = $this->plugin->getPublicDirectory() . '/wp';
    }
protected function setWordPressInstallDirectory()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        $this->json['extra']['wordpress-install-dir'] = $this->plugin->getPublicDirectory() . '/wp';
    }
protected function setWordPressInstallDirectory ( ) { if ( ! $ this -> json ) { $ this -> readJson ( ) ; } $ this -> json [ 'extra' ] [ 'wordpress-install-dir' ] = $ this -> plugin -> getPublicDirectory ( ) . '/wp' ; }
Set the WordPress installation directory in the composer.json.

@return void
Set the WordPress installation directory in the composer . json .