PHP 8.2.31
Preview: workflows.js Size: 638 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/extendify_old/src/Agent/workflows/workflows.js

const workflowContext = require.context(
	'.',
	true,
	// Exclude this file and anything in tools/ or components/
	/^(?!.*\/(tools|components)\/)(?!\.\/workflows\.js$).*\.js$/,
);
export const workflows = workflowContext
	.keys()
	.filter((key) => key !== './workflows.js')
	.map((key) => workflowContext(key).default || workflowContext(key));

// Dynamically pull in all tools
const toolContext = require.context('.', true, /tools\/.*\.js$/);
export const tools = toolContext.keys().reduce((acc, key) => {
	const id = key.split('/').pop().replace('.js', '');
	acc[id] = toolContext(key).default || toolContext(key);
	return acc;
}, {});

Directory Contents

Dirs: 7 × Files: 1

Name Size Perms Modified Actions
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
content DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
extermal DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
misc DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
plugins DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
settings DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
theme DIR
- drwxr-xr-x 2026-04-28 02:40:01
Edit Download
638 B lrw-r--r-- 2025-09-09 19:55:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).