Embeds a saved Forms CPT post anywhere on the site. Update the form once; every embed stays in sync. Responses collect under Forms → Responses.
Namespace
prc-block/synced-form
Category
forms
Attributes
| Attribute | Type | Description |
|---|---|---|
ref | number | Form CPT post ID |
Supports
| Feature | Value |
|---|---|
| Align | true |
| Interactivity | true |
| Custom class name | false |
| HTML | false |
Context
Provides: prc-block/form/formPostId from ref, so nested Form blocks bake the CPT ID into submission context.
Usage
- Insert Synced Form.
- Search the
formpost type, or create a new form from the placeholder. - The editor shows a read-only preview with an Edit form in isolation toolbar link.
- Publish the host content. Edits to the form post apply on every embed.
Server-side, src/synced-form/class-synced-form.php delegates to Form_Renderer::render_by_id().