| @@ -1,7 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace ABlocks\Blocks\Divider; |
| 3 | 3 | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | + | |
| 4 | 8 | use ABlocks\Controls\Alignment; |
| 5 | 9 | use ABlocks\Controls\TextStroke; |
| 6 | 10 | use ABlocks\Controls\Typography; |
| 7 | 11 | use ABlocks\Controls\Range; |
| @@ -13,8 +17,12 @@ | ||
| 13 | 17 | 'block_id' => [ |
| 14 | 18 | 'type' => 'string', |
| 15 | 19 | 'default' => '', |
| 16 | 20 | ], |
| 21 | + 'blockVersion' => array( | |
| 22 | + 'type' => 'number', | |
| 23 | + 'default' => '', | |
| 24 | + ), | |
| 17 | 25 | 'dividerPatternUrl' => [ |
| 18 | 26 | 'type' => 'string', |
| 19 | 27 | 'default' => 'solid', |
| 20 | 28 | ], |