woo_scaffold_block_integration
Generate a standalone PHP integration class for WooCommerce blocks. Use to create the integration layer without scaffolding full checkout or cart block extensions.
Instructions
Generate a standalone WooCommerce Blocks IntegrationInterface class. Use when you need the PHP integration layer without scaffolding the full checkout/cart block extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootNamespace | Yes | Plugin root namespace | |
| integrationName | Yes | Integration name in PascalCase (e.g., "ShippingTracker") | |
| integrationSlug | Yes | Integration slug (e.g., "shipping-tracker") | |
| textDomain | Yes | Plugin text domain | |
| scriptData | No | JSON-encodable data to pass to frontend (key:value pairs, e.g., "apiUrl:/api/track,nonce:wp_nonce") |