# code-snippets/4.0.0-beta.2/js/components/ManageMenu/BlueprintsDemo/callouts.ts

Code Snippets, version 4.0.0-beta.2. 39 lines.

- Page: https://pluginprobe.com/plugins/code-snippets/4.0.0-beta.2/code/js/components/ManageMenu/BlueprintsDemo/callouts.ts
- Raw: https://pluginprobe.com/plugins/code-snippets/4.0.0-beta.2/raw/js/components/ManageMenu/BlueprintsDemo/callouts.ts
- Modified: 2026-09-22T07:42:04+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/code-snippets/4.0.0-beta.2/code/js/components/ManageMenu/BlueprintsDemo/callouts.ts#L10-L20`.

```typescript
import { __ } from '@wordpress/i18n'
import type { CalloutContent } from '../../common/demo/DemoCallout'
import type { DemoStage } from './types'

/**
 * What the walkthrough is doing at each stage, shown alongside the form so the
 * visitor can follow the reasoning rather than just watching fields appear.
 */
const CALLOUTS: Partial<Record<DemoStage, CalloutContent>> = {
	general: {
		step: __('Step 1 of 3', 'code-snippets'),
		title: __('Name the shortcode', 'code-snippets'),
		body: __('Every blueprint starts with the basics — the tag you type into a post, and the function that powers it.', 'code-snippets')
	},
	attributes: {
		step: __('Step 2 of 3', 'code-snippets'),
		title: __('Add the attributes', 'code-snippets'),
		body: __('Attributes become the values you pass in, like [staff_profile name="Jane Doe"], each with a fallback default.', 'code-snippets')
	},
	output: {
		step: __('Step 3 of 3', 'code-snippets'),
		title: __('Decide what it renders', 'code-snippets'),
		body: __('This is the PHP that runs whenever the shortcode appears. The blueprint wraps it in everything else it needs.', 'code-snippets')
	},
	generating: {
		step: __('Generating', 'code-snippets'),
		title: __('Building the snippet', 'code-snippets'),
		body: __('Pro turns the whole form into a finished, working snippet — no boilerplate to write yourself.', 'code-snippets')
	},
	generated: {
		step: __('Done', 'code-snippets'),
		title: __('Your snippet is ready', 'code-snippets'),
		body: __('In Pro the finished PHP appears here, ready to review and save to your site.', 'code-snippets')
	}
}

export const getCallout = (stage: DemoStage): CalloutContent | undefined =>
	CALLOUTS[stage]

```
