# extendify/3.1.0/src/Agent/workflows/content/create-page.js

Extendify, version 3.1.0. 13 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.0/code/src/Agent/workflows/content/create-page.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.0/raw/src/Agent/workflows/content/create-page.js
- Modified: 2025-10-23T16:20:58+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.0/code/src/Agent/workflows/content/create-page.js#L10-L20`.

```javascript
import { GeneratePageResult } from '@agent/workflows/content/components/GeneratePageResult';

const { context, abilities } = window.extAgentData;

export default {
	available: () =>
		!['page', 'post'].includes(context?.adminPage) &&
		context.isBlockTheme &&
		abilities.canEditPosts,
	id: 'create-page',
	whenFinished: { component: GeneratePageResult },
};

```
