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