public function initialiseWordpress(Event $event)
    {
        $webroot = $this->getWebroot();

        $defaultSettings = array(
            'copy-paths' => array()
        );

        $extraConfig = $this->package->getExtra();

        if (!isset($extraConfig['wordpress'])) {
            $extraConfig['wordpress'] = array();
        }

        $settings = array_merge($defaultSettings, $extraConfig['wordpress']);

        foreach ($settings['copy-paths'] as $path) {
            if (is_string($path)) {
                $this->copyFrom($webroot, $path);
            } elseif (is_array($path) && count($path) === 2 && is_string($path[0]) && is_string($path[1])) {
                $this->copyFrom($webroot, $path[0], $path[1]);
            } else {
                throw new \RuntimeException('Unrecognised path format. Must be source path or array of source and destination paths');
            }
        }
    }