@@ -27,7 +27,15 @@ function stackable_get_blocks_array( $blocks = array() ) {
2727 ],
2828 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
2929 'stk-type ' => 'special ' ,
30- 'stk-demo ' => 'https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
30+ 'stk-demo ' => 'https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
31+ 'stk-required-blocks ' => [
32+ 'stackable/icon-label ' ,
33+ 'stackable/heading ' ,
34+ 'stackable/icon '
35+ ],
36+ 'stk-substitution-blocks ' => [
37+ 'stackable/text '
38+ ]
3139 ],
3240 'stackable/blockquote ' => [
3341 'api_version ' => '3 ' ,
@@ -43,7 +51,13 @@ function stackable_get_blocks_array( $blocks = array() ) {
4351 ],
4452 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
4553 'stk-type ' => 'section ' ,
46- 'stk-demo ' => 'https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
54+ 'stk-demo ' => 'https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
55+ 'stk-required-blocks ' => [
56+ 'stackable/icon '
57+ ],
58+ 'stk-substitution-blocks ' => [
59+ 'stackable/text '
60+ ]
4761 ],
4862 'stackable/button ' => [
4963 'api_version ' => '3 ' ,
@@ -65,7 +79,8 @@ function stackable_get_blocks_array( $blocks = array() ) {
6579 ],
6680 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
6781 'stk-type ' => 'hidden ' ,
68- 'stk-demo ' => 'https://wpstackable.com/button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
82+ 'stk-demo ' => 'https://wpstackable.com/button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
83+ 'stk-block-dependency ' => 'stackable/button-group|button '
6984 ],
7085 'stackable/button-group ' => [
7186 'api_version ' => '3 ' ,
@@ -105,7 +120,10 @@ function stackable_get_blocks_array( $blocks = array() ) {
105120 'description ' => __ ( 'Add social buttons. ' , STACKABLE_I18N ),
106121 'category ' => 'stackable ' ,
107122 'stk-type ' => 'special ' ,
108- 'stk-demo ' => 'https://wpstackable.com/social-buttons-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
123+ 'stk-demo ' => 'https://wpstackable.com/social-buttons-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
124+ 'stk-required-blocks ' => [
125+ 'stackable/button-group|icon-button '
126+ ]
109127 ]
110128 ],
111129 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
@@ -131,7 +149,13 @@ function stackable_get_blocks_array( $blocks = array() ) {
131149 ],
132150 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
133151 'stk-type ' => 'section ' ,
134- 'stk-demo ' => 'https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
152+ 'stk-demo ' => 'https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
153+ 'stk-substitution-blocks ' => [
154+ 'stackable/heading ' ,
155+ 'stackable/text ' ,
156+ 'stackable/button-group ' ,
157+ 'stackable/button '
158+ ]
135159 ],
136160 'stackable/card ' => [
137161 'api_version ' => '3 ' ,
@@ -150,7 +174,14 @@ function stackable_get_blocks_array( $blocks = array() ) {
150174 ],
151175 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
152176 'stk-type ' => 'special ' ,
153- 'stk-demo ' => 'https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
177+ 'stk-demo ' => 'https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
178+ 'stk-substitution-blocks ' => [
179+ 'stackable/heading ' ,
180+ 'stackable/text ' ,
181+ 'stackable/subtitle ' ,
182+ 'stackable/button-group ' ,
183+ 'stackable/button '
184+ ]
154185 ],
155186 'stackable/carousel ' => [
156187 'api_version ' => '3 ' ,
@@ -198,7 +229,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
198229 'stackable/tab-content '
199230 ],
200231 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
201- 'stk-type ' => 'hidden '
232+ 'stk-type ' => 'hidden ' ,
233+ 'stk-available-states ' => [
234+ 'enabled ' ,
235+ 'hidden '
236+ ]
202237 ],
203238 'stackable/columns ' => [
204239 'api_version ' => '3 ' ,
@@ -221,7 +256,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
221256 ],
222257 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
223258 'stk-type ' => 'essential ' ,
224- 'stk-demo ' => 'https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
259+ 'stk-demo ' => 'https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
260+ 'stk-available-states ' => [
261+ 'enabled ' ,
262+ 'hidden '
263+ ]
225264 ],
226265 'stackable/count-up ' => [
227266 'api_version ' => '3 ' ,
@@ -278,7 +317,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
278317 ],
279318 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
280319 'stk-type ' => 'special ' ,
281- 'stk-demo ' => 'https://wpstackable.com/designs/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
320+ 'stk-demo ' => 'https://wpstackable.com/designs/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
321+ 'stk-available-states ' => [
322+ 'enabled ' ,
323+ 'hidden '
324+ ]
282325 ],
283326 'stackable/divider ' => [
284327 'api_version ' => '3 ' ,
@@ -317,7 +360,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
317360 ],
318361 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
319362 'stk-type ' => 'special ' ,
320- 'stk-demo ' => 'https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
363+ 'stk-demo ' => 'https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
364+ 'stk-required-blocks ' => [
365+ 'stackable/text ' ,
366+ 'stackable/button-group|button '
367+ ]
321368 ],
322369 'stackable/feature ' => [
323370 'api_version ' => '3 ' ,
@@ -336,7 +383,16 @@ function stackable_get_blocks_array( $blocks = array() ) {
336383 ],
337384 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
338385 'stk-type ' => 'section ' ,
339- 'stk-demo ' => 'https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
386+ 'stk-demo ' => 'https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
387+ 'stk-required-blocks ' => [
388+ 'stackable/image '
389+ ],
390+ 'stk-substitution-blocks ' => [
391+ 'stackable/heading ' ,
392+ 'stackable/text ' ,
393+ 'stackable/button-group ' ,
394+ 'stackable/button '
395+ ]
340396 ],
341397 'stackable/feature-grid ' => [
342398 'api_version ' => '3 ' ,
@@ -355,7 +411,14 @@ function stackable_get_blocks_array( $blocks = array() ) {
355411 ],
356412 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
357413 'stk-type ' => 'section ' ,
358- 'stk-demo ' => 'https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
414+ 'stk-demo ' => 'https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
415+ 'stk-substitution-blocks ' => [
416+ 'stackable/image ' ,
417+ 'stackable/heading ' ,
418+ 'stackable/text ' ,
419+ 'stackable/button-group ' ,
420+ 'stackable/button '
421+ ]
359422 ],
360423 'stackable/heading ' => [
361424 'api_version ' => '3 ' ,
@@ -396,7 +459,13 @@ function stackable_get_blocks_array( $blocks = array() ) {
396459 ],
397460 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
398461 'stk-type ' => 'section ' ,
399- 'stk-demo ' => 'https://wpstackable.com/hero-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
462+ 'stk-demo ' => 'https://wpstackable.com/hero-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
463+ 'stk-substitution-blocks ' => [
464+ 'stackable/heading ' ,
465+ 'stackable/text ' ,
466+ 'stackable/button-group ' ,
467+ 'stackable/button '
468+ ]
400469 ],
401470 'stackable/horizontal-scroller ' => [
402471 'api_version ' => '3 ' ,
@@ -454,7 +523,12 @@ function stackable_get_blocks_array( $blocks = array() ) {
454523 ],
455524 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
456525 'stk-type ' => 'section ' ,
457- 'stk-demo ' => 'https://wpstackable.com/icon-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
526+ 'stk-demo ' => 'https://wpstackable.com/icon-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
527+ 'stk-required-blocks ' => [
528+ 'stackable/icon-label ' ,
529+ 'stackable/icon ' ,
530+ 'stackable/heading '
531+ ]
458532 ],
459533 'stackable/icon-button ' => [
460534 'api_version ' => '3 ' ,
@@ -476,7 +550,8 @@ function stackable_get_blocks_array( $blocks = array() ) {
476550 ],
477551 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
478552 'stk-type ' => 'hidden ' ,
479- 'stk-demo ' => 'https://wpstackable.com/icon-button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
553+ 'stk-demo ' => 'https://wpstackable.com/icon-button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
554+ 'stk-block-dependency ' => 'stackable/button-group|icon-button '
480555 ],
481556 'stackable/icon-label ' => [
482557 'api_version ' => '3 ' ,
@@ -495,7 +570,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
495570 ],
496571 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
497572 'stk-type ' => 'special ' ,
498- 'stk-demo ' => 'https://wpstackable.com/icon-label-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
573+ 'stk-demo ' => 'https://wpstackable.com/icon-label-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
574+ 'stk-required-blocks ' => [
575+ 'stackable/icon ' ,
576+ 'stackable/heading '
577+ ]
499578 ],
500579 'stackable/icon-list ' => [
501580 'api_version ' => '3 ' ,
@@ -576,7 +655,16 @@ function stackable_get_blocks_array( $blocks = array() ) {
576655 ],
577656 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
578657 'stk-type ' => 'special ' ,
579- 'stk-demo ' => 'https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
658+ 'stk-demo ' => 'https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
659+ 'stk-required-blocks ' => [
660+ 'stackable/image ' ,
661+ 'stackable/subtitle ' ,
662+ 'stackable/icon '
663+ ],
664+ 'stk-substitution-blocks ' => [
665+ 'stackable/heading ' ,
666+ 'stackable/text '
667+ ]
580668 ],
581669 'stackable/map ' => [
582670 'api_version ' => '3 ' ,
@@ -619,7 +707,16 @@ function stackable_get_blocks_array( $blocks = array() ) {
619707 ],
620708 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
621709 'stk-type ' => 'special ' ,
622- 'stk-demo ' => 'https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
710+ 'stk-demo ' => 'https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
711+ 'stk-required-blocks ' => [
712+ 'stackable/icon '
713+ ],
714+ 'stk-substitution-blocks ' => [
715+ 'stackable/heading ' ,
716+ 'stackable/text ' ,
717+ 'stackable/button-group ' ,
718+ 'stackable/button '
719+ ]
623720 ],
624721 'stackable/number-box ' => [
625722 'api_version ' => '3 ' ,
@@ -693,7 +790,10 @@ function stackable_get_blocks_array( $blocks = array() ) {
693790 ],
694791 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
695792 'stk-type ' => 'special ' ,
696- 'stk-demo ' => 'https://wpstackable.com/price-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
793+ 'stk-demo ' => 'https://wpstackable.com/price-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
794+ 'stk-required-blocks ' => [
795+ 'stackable/text '
796+ ]
697797 ],
698798 'stackable/pricing-box ' => [
699799 'api_version ' => '3 ' ,
@@ -717,7 +817,18 @@ function stackable_get_blocks_array( $blocks = array() ) {
717817 ],
718818 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
719819 'stk-type ' => 'section ' ,
720- 'stk-demo ' => 'https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
820+ 'stk-demo ' => 'https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
821+ 'stk-required-blocks ' => [
822+ 'stackable/price ' ,
823+ 'stackable/text ' ,
824+ 'stackable/icon-list '
825+ ],
826+ 'stk-substitution-blocks ' => [
827+ 'stackable/heading ' ,
828+ 'stackable/subtitle ' ,
829+ 'stackable/button-group ' ,
830+ 'stackable/button '
831+ ]
721832 ],
722833 'stackable/progress-bar ' => [
723834 'api_version ' => '3 ' ,
@@ -916,7 +1027,15 @@ function stackable_get_blocks_array( $blocks = array() ) {
9161027 ],
9171028 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
9181029 'stk-type ' => 'section ' ,
919- 'stk-demo ' => 'https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
1030+ 'stk-demo ' => 'https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
1031+ 'stk-substitution-blocks ' => [
1032+ 'stackable/image ' ,
1033+ 'stackable/heading ' ,
1034+ 'stackable/subtitle ' ,
1035+ 'stackable/text ' ,
1036+ 'stackable/button-group ' ,
1037+ 'stackable/button '
1038+ ]
9201039 ],
9211040 'stackable/testimonial ' => [
9221041 'api_version ' => '3 ' ,
@@ -935,7 +1054,16 @@ function stackable_get_blocks_array( $blocks = array() ) {
9351054 ],
9361055 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
9371056 'stk-type ' => 'section ' ,
938- 'stk-demo ' => 'https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
1057+ 'stk-demo ' => 'https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
1058+ 'stk-required-blocks ' => [
1059+ 'stackable/image-box '
1060+ ],
1061+ 'stk-substitution-blocks ' => [
1062+ 'stackable/image ' ,
1063+ 'stackable/heading ' ,
1064+ 'stackable/subtitle ' ,
1065+ 'stackable/text '
1066+ ]
9391067 ],
9401068 'stackable/text ' => [
9411069 'api_version ' => '3 ' ,
@@ -995,7 +1123,11 @@ function stackable_get_blocks_array( $blocks = array() ) {
9951123 ],
9961124 'textdomain ' => 'stackable-ultimate-gutenberg-blocks ' ,
9971125 'stk-type ' => 'special ' ,
998- 'stk-demo ' => 'https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink '
1126+ 'stk-demo ' => 'https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink ' ,
1127+ 'stk-required-blocks ' => [
1128+ 'stackable/icon ' ,
1129+ 'stackable/image '
1130+ ]
9991131 ]
10001132 );
10011133
0 commit comments