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