# extendify/3.1.2/src/Assist/tasks/edit-homepage.js

Extendify, version 3.1.2. 28 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.2/code/src/Assist/tasks/edit-homepage.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.2/raw/src/Assist/tasks/edit-homepage.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.2/code/src/Assist/tasks/edit-homepage.js#L10-L20`.

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

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

export default {
	slug: 'edit-homepage',
	title: __('Edit your homepage', 'extendify-local'),
	description: __(
		'Edit homepage by replacing existing content.',
		'extendify-local',
	),
	buttonLabels: {
		completed: __('Edit now', 'extendify-local'),
		notCompleted: __('Edit now', 'extendify-local'),
	},
	link: 'post.php?post=$&action=edit',
	type: 'internalLink',
	dependencies: { plugins: [] },
	show: () => {
		// They need either extendable or launch completed
		if (themeSlug !== 'extendable' && !launchCompleted) return false;
		return !!frontPage;
	},
	backgroundImage:
		'https://images.extendify-cdn.com/assist-tasks/edit-homepage.webp',
};

```
