# extendify/3.1.0/src/AutoLaunch/functions/setup.js

Extendify, version 3.1.0. 17 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.0/code/src/AutoLaunch/functions/setup.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.0/raw/src/AutoLaunch/functions/setup.js
- Modified: 2026-06-11T18:37:12+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/AutoLaunch/functions/setup.js#L10-L20`.

```javascript
import apiFetch from '@wordpress/api-fetch';

export const prefetchAssistData = async () =>
	await apiFetch({ path: 'extendify/v1/auto-launch/prefetch-assist-data' });

export const postLaunchFunctions = () =>
	apiFetch({
		path: '/extendify/v1/launch/post-launch-functions',
		method: 'POST',
	});

export const preLaunchFunctions = () =>
	apiFetch({
		path: '/extendify/v1/auto-launch/pre-launch-functions',
		method: 'POST',
	});

```
