PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/AutoLaunch/functions/setup.js +21 -1 3.1.3 → trunk View file →
@@ -4,9 +4,9 @@
4 4 await apiFetch({ path: 'extendify/v1/auto-launch/prefetch-assist-data' });
5 5
6 6 export const postLaunchFunctions = () =>
7 7 apiFetch({
8 - path: '/extendify/v1/launch/post-launch-functions',
8 + path: '/extendify/v1/auto-launch/post-launch-functions',
9 9 method: 'POST',
10 10 });
11 11
12 12 export const preLaunchFunctions = () =>
@@ -12,5 +12,25 @@
12 12 export const preLaunchFunctions = () =>
13 13 apiFetch({
14 14 path: '/extendify/v1/auto-launch/pre-launch-functions',
15 15 method: 'POST',
16 + });
17 +
18 +export const resetLaunchState = () =>
19 + apiFetch({
20 + path: '/extendify/v1/auto-launch/reset-launch-state',
21 + method: 'POST',
22 + });
23 +
24 +export const runUpdates = () =>
25 + apiFetch({
26 + path: '/extendify/v1/auto-launch/run-updates',
27 + method: 'POST',
28 + });
29 +
30 +export const forceReinstallPlugin = (slug) =>
31 + apiFetch({
32 + path: '/wp/v2/plugins',
33 + method: 'POST',
34 + headers: { 'X-Extendify-Force-Reinstall': '1' },
35 + data: { slug },
16 36 });