# extendify/3.0.6/src/Assist/tasks/setup-wpforms.js

Extendify, version 3.0.6. 30 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.0.6/code/src/Assist/tasks/setup-wpforms.js
- Raw: https://pluginprobe.com/plugins/extendify/3.0.6/raw/src/Assist/tasks/setup-wpforms.js
- Modified: 2025-08-27T13:47:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.0.6/code/src/Assist/tasks/setup-wpforms.js#L10-L20`.

```javascript
import { __ } from '@wordpress/i18n';

const { themeSlug } = window.extSharedData;
const { launchCompleted } = window.extAssistData;

export default {
	slug: 'setup-wpforms',
	title: __('Set up WPForms', 'extendify-local'),
	description: __(
		'Set up the WPForms plugin to add a contact form on your site.',
		'extendify-local',
	),
	link: '?page=wpforms-getting-started',
	buttonLabels: {
		notCompleted: __('Set up', 'extendify-local'),
		completed: __('Revisit', 'extendify-local'),
	},
	type: 'internalLink',
	dependencies: { plugins: ['wpforms-lite'] },
	show: ({ plugins, activePlugins }) => {
		// They need either extendable or launch completed
		if (themeSlug !== 'extendable' && !launchCompleted) return false;
		if (!plugins.length) return true;

		return activePlugins.some((item) => plugins.includes(item));
	},
	backgroundImage:
		'https://images.extendify-cdn.com/assist-tasks/bg-for-forms.webp',
};

```
