# extendify/3.1.6/src/Assist/tasks/add-page.js

Extendify, version 3.1.6. 25 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.6/code/src/Assist/tasks/add-page.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.6/raw/src/Assist/tasks/add-page.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.1.6/code/src/Assist/tasks/add-page.js#L10-L20`.

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

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

export default {
	slug: 'add-pages',
	title: __('Add a page', 'extendify-local'),
	description: __('Add a new page for your website.', 'extendify-local'),
	buttonLabels: {
		completed: __('Add new', 'extendify-local'),
		notCompleted: __('Add new', 'extendify-local'),
	},
	link: 'post-new.php?post_type=page',
	type: 'internalLink',
	dependencies: { plugins: [] },
	show: () => {
		if (themeSlug === 'extendable') return true;
		if (launchCompleted) return true;
		return false;
	},
	backgroundImage:
		'https://images.extendify-cdn.com/assist-tasks/add-page.webp',
};

```
