# extendify/3.1.5/src/Agent/workflows/settings/edit-wp-setting.js

Extendify, version 3.1.5. 30 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.5/code/src/Agent/workflows/settings/edit-wp-setting.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.5/raw/src/Agent/workflows/settings/edit-wp-setting.js
- Modified: 2026-07-08T14:57:26+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.5/code/src/Agent/workflows/settings/edit-wp-setting.js#L10-L20`.

```javascript
import { UpdateSettingConfirm } from '@agent/workflows/settings/components/UpdateSettingConfirm';
import { __ } from '@wordpress/i18n';

const { abilities } = window.extAgentData;

export const allowedSettings = [
	'posts_per_page',
	'use_smilies',
	'start_of_week',
	'time_format',
	'date_format',
	'title',
	'description',
];
export default {
	available: () => abilities?.canEditSettings,
	id: 'edit-wp-setting',
	whenFinished: { component: UpdateSettingConfirm },
	example: {
		text: __('Change website title', 'extendify-local'),
		agentResponse: {
			// translators: The agent asks this, then waits for the user to type their new site title.
			reply: __(
				'What would you like your new website title to be?',
				'extendify-local',
			),
		},
	},
};

```
