| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Render callback for IvyForms Gutenberg block |
| 5 |
* |
| 6 |
* This file can be used as an alternative to the render_callback in block registration, |
| 7 |
* but currently the rendering is handled by GutenbergBlock::render() |
| 8 |
* |
| 9 |
* @var array<string, string> $attributes Block attributes |
| 10 |
* @var string $content Block content |
| 11 |
* @var WP_Block $block Block instance |
| 12 |
*/ |
| 13 |
|
| 14 |
if (!defined('ABSPATH')) { |
| 15 |
exit; // Exit if accessed directly |
| 16 |
} |
| 17 |
|
| 18 |
// The actual rendering is handled by GutenbergBlock::render() |
| 19 |
// This file is kept for block.json compatibility |
| 20 |
|