PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.5.4
GenerateBlocks v1.5.4
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / includes / defaults.php
generateblocks / includes Last commit date
class-do-css.php 4 years ago class-dynamic-content.php 4 years ago class-enqueue-css.php 4 years ago class-legacy-attributes.php 4 years ago class-plugin-update.php 5 years ago class-query-loop.php 3 years ago class-render-blocks.php 3 years ago class-rest.php 4 years ago class-settings.php 4 years ago dashboard.php 4 years ago defaults.php 4 years ago functions.php 4 years ago general.php 4 years ago generate-css.php 4 years ago
defaults.php
639 lines
1 <?php
2 /**
3 * Set our block attribute defaults.
4 *
5 * @package GenerateBlocks
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 /**
13 * Set our block defaults.
14 *
15 * @since 0.1
16 *
17 * @return array
18 */
19 function generateblocks_get_block_defaults() {
20 $defaults = array();
21
22 $container_width = generateblocks_get_option( 'container_width' );
23
24 if ( function_exists( 'generate_get_option' ) ) {
25 $container_width = generate_get_option( 'container_width' );
26 }
27
28 $defaults['container'] = array(
29 'tagName' => 'div',
30 'isGrid' => false,
31 'containerWidth' => $container_width,
32 'outerContainer' => 'full',
33 'innerContainer' => 'contained',
34 'minHeight' => false,
35 'minHeightUnit' => 'px',
36 'minHeightTablet' => false,
37 'minHeightUnitTablet' => 'px',
38 'minHeightMobile' => false,
39 'minHeightUnitMobile' => 'px',
40 'paddingTop' => '',
41 'paddingRight' => '',
42 'paddingBottom' => '',
43 'paddingLeft' => '',
44 'paddingUnit' => 'px',
45 'paddingTopTablet' => '',
46 'paddingRightTablet' => '',
47 'paddingBottomTablet' => '',
48 'paddingLeftTablet' => '',
49 'paddingTopMobile' => '',
50 'paddingRightMobile' => '',
51 'paddingBottomMobile' => '',
52 'paddingLeftMobile' => '',
53 'marginTop' => '',
54 'marginRight' => '',
55 'marginBottom' => '',
56 'marginLeft' => '',
57 'marginUnit' => 'px',
58 'marginTopTablet' => '',
59 'marginRightTablet' => '',
60 'marginBottomTablet' => '',
61 'marginLeftTablet' => '',
62 'marginTopMobile' => '',
63 'marginRightMobile' => '',
64 'marginBottomMobile' => '',
65 'marginLeftMobile' => '',
66 'borderSizeTop' => '',
67 'borderSizeRight' => '',
68 'borderSizeBottom' => '',
69 'borderSizeLeft' => '',
70 'borderSizeTopTablet' => '',
71 'borderSizeRightTablet' => '',
72 'borderSizeBottomTablet' => '',
73 'borderSizeLeftTablet' => '',
74 'borderSizeTopMobile' => '',
75 'borderSizeRightMobile' => '',
76 'borderSizeBottomMobile' => '',
77 'borderSizeLeftMobile' => '',
78 'borderRadiusTopRight' => '',
79 'borderRadiusBottomRight' => '',
80 'borderRadiusBottomLeft' => '',
81 'borderRadiusTopLeft' => '',
82 'borderRadiusUnit' => 'px',
83 'borderRadiusTopRightTablet' => '',
84 'borderRadiusBottomRightTablet' => '',
85 'borderRadiusBottomLeftTablet' => '',
86 'borderRadiusTopLeftTablet' => '',
87 'borderRadiusTopRightMobile' => '',
88 'borderRadiusBottomRightMobile' => '',
89 'borderRadiusBottomLeftMobile' => '',
90 'borderRadiusTopLeftMobile' => '',
91 'borderColor' => '',
92 'borderColorOpacity' => 1,
93 'backgroundColor' => '',
94 'backgroundColorOpacity' => 1,
95 'gradient' => false,
96 'gradientDirection' => '',
97 'gradientColorOne' => '',
98 'gradientColorOneOpacity' => '',
99 'gradientColorStopOne' => '',
100 'gradientColorTwo' => '',
101 'gradientColorTwoOpacity' => '',
102 'gradientColorStopTwo' => '',
103 'gradientSelector' => 'element',
104 'textColor' => '',
105 'linkColor' => '',
106 'linkColorHover' => '',
107 'bgImage' => '',
108 'bgOptions' => array(
109 'selector' => 'element',
110 'opacity' => 1,
111 'overlay' => false,
112 'position' => 'center center',
113 'size' => 'cover',
114 'repeat' => 'no-repeat',
115 'attachment' => '',
116 ),
117 'bgImageSize' => 'full',
118 'bgImageInline' => false,
119 'width' => '',
120 'widthTablet' => '',
121 'widthMobile' => '',
122 'autoWidth' => false,
123 'autoWidthTablet' => false,
124 'autoWidthMobile' => false,
125 'flexGrow' => '',
126 'flexGrowTablet' => '',
127 'flexGrowMobile' => '',
128 'flexShrink' => '',
129 'flexShrinkTablet' => '',
130 'flexShrinkMobile' => '',
131 'flexBasis' => '',
132 'flexBasisTablet' => '',
133 'flexBasisMobile' => '',
134 'flexBasisUnit' => 'px',
135 'verticalAlignment' => '',
136 'verticalAlignmentTablet' => 'inherit',
137 'verticalAlignmentMobile' => 'inherit',
138 'zindex' => '',
139 'innerZindex' => '',
140 'removeVerticalGap' => false,
141 'removeVerticalGapTablet' => false,
142 'removeVerticalGapMobile' => false,
143 'orderTablet' => false,
144 'orderMobile' => false,
145 'alignment' => '',
146 'alignmentTablet' => '',
147 'alignmentMobile' => '',
148 'fontFamily' => '',
149 'fontFamilyFallback' => '',
150 'googleFont' => false,
151 'googleFontVariants' => '',
152 'fontWeight' => '',
153 'fontSize' => '',
154 'fontSizeTablet' => '',
155 'fontSizeMobile' => '',
156 'fontSizeUnit' => 'px',
157 'textTransform' => '',
158 );
159
160 $defaults['buttonContainer'] = array(
161 'alignment' => '',
162 'alignmentTablet' => '',
163 'alignmentMobile' => '',
164 'marginTop' => '',
165 'marginRight' => '',
166 'marginBottom' => '',
167 'marginLeft' => '',
168 'marginTopTablet' => '',
169 'marginRightTablet' => '',
170 'marginBottomTablet' => '',
171 'marginLeftTablet' => '',
172 'marginTopMobile' => '',
173 'marginRightMobile' => '',
174 'marginBottomMobile' => '',
175 'marginLeftMobile' => '',
176 'marginUnit' => 'px',
177 'stack' => false,
178 'stackTablet' => false,
179 'stackMobile' => false,
180 'fillHorizontalSpace' => false,
181 'fillHorizontalSpaceTablet' => false,
182 'fillHorizontalSpaceMobile' => false,
183 );
184
185 $defaults['button'] = array(
186 'backgroundColor' => false,
187 'backgroundColorOpacity' => 1,
188 'backgroundColorHover' => false,
189 'backgroundColorHoverOpacity' => 1,
190 'backgroundColorCurrent' => '',
191 'textColor' => false,
192 'textColorHover' => false,
193 'textColorCurrent' => '',
194 'borderColor' => false,
195 'borderColorOpacity' => 1,
196 'borderColorHover' => false,
197 'borderColorHoverOpacity' => 1,
198 'borderColorCurrent' => false,
199 'fontFamily' => '',
200 'fontFamilyFallback' => '',
201 'googleFont' => false,
202 'googleFontVariants' => '',
203 'fontWeight' => '',
204 'fontSize' => false,
205 'fontSizeTablet' => false,
206 'fontSizeMobile' => false,
207 'fontSizeUnit' => 'px',
208 'textTransform' => '',
209 'letterSpacing' => '',
210 'letterSpacingTablet' => '',
211 'letterSpacingMobile' => '',
212 'marginTop' => '',
213 'marginRight' => '',
214 'marginBottom' => '',
215 'marginLeft' => '',
216 'marginTopTablet' => '',
217 'marginRightTablet' => '',
218 'marginBottomTablet' => '',
219 'marginLeftTablet' => '',
220 'marginTopMobile' => '',
221 'marginRightMobile' => '',
222 'marginBottomMobile' => '',
223 'marginLeftMobile' => '',
224 'marginUnit' => 'px',
225 'paddingTop' => '',
226 'paddingRight' => '',
227 'paddingBottom' => '',
228 'paddingLeft' => '',
229 'paddingTopTablet' => '',
230 'paddingRightTablet' => '',
231 'paddingBottomTablet' => '',
232 'paddingLeftTablet' => '',
233 'paddingTopMobile' => '',
234 'paddingRightMobile' => '',
235 'paddingBottomMobile' => '',
236 'paddingLeftMobile' => '',
237 'paddingUnit' => 'px',
238 'borderSizeTop' => '',
239 'borderSizeRight' => '',
240 'borderSizeBottom' => '',
241 'borderSizeLeft' => '',
242 'borderSizeTopTablet' => '',
243 'borderSizeRightTablet' => '',
244 'borderSizeBottomTablet' => '',
245 'borderSizeLeftTablet' => '',
246 'borderSizeTopMobile' => '',
247 'borderSizeRightMobile' => '',
248 'borderSizeBottomMobile' => '',
249 'borderSizeLeftMobile' => '',
250 'borderRadiusTopRight' => '',
251 'borderRadiusBottomRight' => '',
252 'borderRadiusBottomLeft' => '',
253 'borderRadiusTopLeft' => '',
254 'borderRadiusTopRightTablet' => '',
255 'borderRadiusBottomRightTablet' => '',
256 'borderRadiusBottomLeftTablet' => '',
257 'borderRadiusTopLeftTablet' => '',
258 'borderRadiusTopRightMobile' => '',
259 'borderRadiusBottomRightMobile' => '',
260 'borderRadiusBottomLeftMobile' => '',
261 'borderRadiusTopLeftMobile' => '',
262 'borderRadiusUnit' => 'px',
263 'icon' => '',
264 'hasIcon' => false,
265 'iconLocation' => 'left',
266 'removeText' => false,
267 'ariaLabel' => '',
268 'gradient' => false,
269 'gradientDirection' => '',
270 'gradientColorOne' => '',
271 'gradientColorOneOpacity' => '',
272 'gradientColorStopOne' => '',
273 'gradientColorTwo' => '',
274 'gradientColorTwoOpacity' => '',
275 'gradientColorStopTwo' => '',
276 'iconPaddingTop' => '',
277 'iconPaddingRight' => '0.5',
278 'iconPaddingBottom' => '',
279 'iconPaddingLeft' => '',
280 'iconPaddingTopTablet' => '',
281 'iconPaddingRightTablet' => '',
282 'iconPaddingBottomTablet' => '',
283 'iconPaddingLeftTablet' => '',
284 'iconPaddingTopMobile' => '',
285 'iconPaddingRightMobile' => '',
286 'iconPaddingBottomMobile' => '',
287 'iconPaddingLeftMobile' => '',
288 'iconPaddingUnit' => 'em',
289 'iconSize' => 1,
290 'iconSizeTablet' => '',
291 'iconSizeMobile' => '',
292 'iconSizeUnit' => 'em',
293 );
294
295 $defaults['gridContainer'] = array(
296 'horizontalGap' => '',
297 'verticalGap' => '',
298 'verticalAlignment' => '',
299 'horizontalGapTablet' => '',
300 'verticalGapTablet' => '',
301 'verticalAlignmentTablet' => 'inherit',
302 'horizontalGapMobile' => '',
303 'verticalGapMobile' => '',
304 'verticalAlignmentMobile' => 'inherit',
305 'horizontalAlignment' => '',
306 'horizontalAlignmentTablet' => '',
307 'horizontalAlignmentMobile' => '',
308 );
309
310 $defaults['headline'] = array(
311 'element' => 'h2',
312 'cssClasses' => '',
313 'alignment' => false,
314 'alignmentTablet' => false,
315 'alignmentMobile' => false,
316 'backgroundColor' => false,
317 'backgroundColorOpacity' => 1,
318 'textColor' => false,
319 'linkColor' => false,
320 'linkColorHover' => false,
321 'borderColor' => false,
322 'borderColorOpacity' => 1,
323 'highlightTextColor' => false,
324 'fontFamily' => '',
325 'fontFamilyFallback' => '',
326 'googleFont' => false,
327 'googleFontVariants' => '',
328 'fontWeight' => '',
329 'fontSize' => '',
330 'fontSizeTablet' => '',
331 'fontSizeMobile' => '',
332 'fontSizeUnit' => 'px',
333 'textTransform' => '',
334 'lineHeight' => '',
335 'lineHeightTablet' => '',
336 'lineHeightMobile' => '',
337 'lineHeightUnit' => 'em',
338 'letterSpacing' => '',
339 'letterSpacingTablet' => '',
340 'letterSpacingMobile' => '',
341 'marginTop' => '',
342 'marginRight' => '',
343 'marginBottom' => '',
344 'marginLeft' => '',
345 'marginTopTablet' => '',
346 'marginRightTablet' => '',
347 'marginBottomTablet' => '',
348 'marginLeftTablet' => '',
349 'marginTopMobile' => '',
350 'marginRightMobile' => '',
351 'marginBottomMobile' => '',
352 'marginLeftMobile' => '',
353 'marginUnit' => 'px',
354 'paddingTop' => '',
355 'paddingRight' => '',
356 'paddingBottom' => '',
357 'paddingLeft' => '',
358 'paddingTopTablet' => '',
359 'paddingRightTablet' => '',
360 'paddingBottomTablet' => '',
361 'paddingLeftTablet' => '',
362 'paddingTopMobile' => '',
363 'paddingRightMobile' => '',
364 'paddingBottomMobile' => '',
365 'paddingLeftMobile' => '',
366 'paddingUnit' => 'px',
367 'borderSizeTop' => '',
368 'borderSizeRight' => '',
369 'borderSizeBottom' => '',
370 'borderSizeLeft' => '',
371 'borderSizeTopTablet' => '',
372 'borderSizeRightTablet' => '',
373 'borderSizeBottomTablet' => '',
374 'borderSizeLeftTablet' => '',
375 'borderSizeTopMobile' => '',
376 'borderSizeRightMobile' => '',
377 'borderSizeBottomMobile' => '',
378 'borderSizeLeftMobile' => '',
379 'borderRadiusTopRight' => '',
380 'borderRadiusBottomRight' => '',
381 'borderRadiusBottomLeft' => '',
382 'borderRadiusTopLeft' => '',
383 'borderRadiusTopRightTablet' => '',
384 'borderRadiusBottomRightTablet' => '',
385 'borderRadiusBottomLeftTablet' => '',
386 'borderRadiusTopLeftTablet' => '',
387 'borderRadiusTopRightMobile' => '',
388 'borderRadiusBottomRightMobile' => '',
389 'borderRadiusBottomLeftMobile' => '',
390 'borderRadiusTopLeftMobile' => '',
391 'borderRadiusUnit' => 'px',
392 'icon' => '',
393 'hasIcon' => false,
394 'iconColor' => false,
395 'iconColorOpacity' => 1,
396 'iconLocation' => 'inline',
397 'iconLocationTablet' => '',
398 'iconLocationMobile' => '',
399 'iconVerticalAlignment' => 'center',
400 'iconVerticalAlignmentTablet' => '',
401 'iconVerticalAlignmentMobile' => '',
402 'iconPaddingTop' => '',
403 'iconPaddingRight' => '0.5',
404 'iconPaddingBottom' => '',
405 'iconPaddingLeft' => '',
406 'iconPaddingTopTablet' => '',
407 'iconPaddingRightTablet' => '',
408 'iconPaddingBottomTablet' => '',
409 'iconPaddingLeftTablet' => '',
410 'iconPaddingTopMobile' => '',
411 'iconPaddingRightMobile' => '',
412 'iconPaddingBottomMobile' => '',
413 'iconPaddingLeftMobile' => '',
414 'iconPaddingUnit' => 'em',
415 'iconSize' => 1,
416 'iconSizeTablet' => '',
417 'iconSizeMobile' => '',
418 'iconSizeUnit' => 'em',
419 'inlineWidth' => false,
420 'inlineWidthTablet' => false,
421 'inlineWidthMobile' => false,
422 'removeText' => false,
423 'ariaLabel' => '',
424 );
425
426 $defaults['image'] = array(
427 'mediaId' => '',
428 'sizeSlug' => '',
429 'width' => '',
430 'widthTablet' => '',
431 'widthMobile' => '',
432 'height' => '',
433 'heightTablet' => '',
434 'heightMobile' => '',
435 'marginTop' => '',
436 'marginRight' => '',
437 'marginBottom' => '',
438 'marginLeft' => '',
439 'marginTopTablet' => '',
440 'marginRightTablet' => '',
441 'marginBottomTablet' => '',
442 'marginLeftTablet' => '',
443 'marginTopMobile' => '',
444 'marginRightMobile' => '',
445 'marginBottomMobile' => '',
446 'marginLeftMobile' => '',
447 'marginUnit' => 'px',
448 'paddingTop' => '',
449 'paddingRight' => '',
450 'paddingBottom' => '',
451 'paddingLeft' => '',
452 'paddingTopTablet' => '',
453 'paddingRightTablet' => '',
454 'paddingBottomTablet' => '',
455 'paddingLeftTablet' => '',
456 'paddingTopMobile' => '',
457 'paddingRightMobile' => '',
458 'paddingBottomMobile' => '',
459 'paddingLeftMobile' => '',
460 'paddingUnit' => 'px',
461 'borderColor' => '',
462 'borderSizeTop' => '',
463 'borderSizeRight' => '',
464 'borderSizeBottom' => '',
465 'borderSizeLeft' => '',
466 'borderSizeTopTablet' => '',
467 'borderSizeRightTablet' => '',
468 'borderSizeBottomTablet' => '',
469 'borderSizeLeftTablet' => '',
470 'borderSizeTopMobile' => '',
471 'borderSizeRightMobile' => '',
472 'borderSizeBottomMobile' => '',
473 'borderSizeLeftMobile' => '',
474 'borderRadiusTopRight' => '',
475 'borderRadiusBottomRight' => '',
476 'borderRadiusBottomLeft' => '',
477 'borderRadiusTopLeft' => '',
478 'borderRadiusTopRightTablet' => '',
479 'borderRadiusBottomRightTablet' => '',
480 'borderRadiusBottomLeftTablet' => '',
481 'borderRadiusTopLeftTablet' => '',
482 'borderRadiusTopRightMobile' => '',
483 'borderRadiusBottomRightMobile' => '',
484 'borderRadiusBottomLeftMobile' => '',
485 'borderRadiusTopLeftMobile' => '',
486 'borderRadiusUnit' => 'px',
487 'objectFit' => '',
488 'objectFitTablet' => '',
489 'objectFitMobile' => '',
490 'align' => '',
491 'alignment' => '',
492 'alignmentTablet' => '',
493 'alignmentMobile' => '',
494 );
495
496 return apply_filters( 'generateblocks_defaults', $defaults );
497 }
498
499 /**
500 * Get defaults for our general options.
501 *
502 * @since 0.1
503 */
504 function generateblocks_get_option_defaults() {
505 return apply_filters(
506 'generateblocks_option_defaults',
507 array(
508 'container_width' => 1100,
509 'css_print_method' => 'file',
510 'sync_responsive_previews' => true,
511 )
512 );
513 }
514
515 /**
516 * Styles to use in the editor/font-end when needed.
517 *
518 * @since 1.0
519 */
520 function generateblocks_get_default_styles() {
521 $defaults = generateblocks_get_block_defaults();
522
523 $defaultBlockStyles = array(
524 'button' => array(
525 'backgroundColor' => $defaults['button']['backgroundColor'] ? $defaults['button']['backgroundColor'] : '#0366d6',
526 'textColor' => $defaults['button']['textColor'] ? $defaults['button']['textColor'] : '#ffffff',
527 'backgroundColorHover' => $defaults['button']['backgroundColorHover'] ? $defaults['button']['backgroundColorHover'] : '#222222',
528 'textColorHover' => $defaults['button']['textColorHover'] ? $defaults['button']['textColorHover'] : '#ffffff',
529 'paddingTop' => $defaults['button']['paddingTop'] ? $defaults['button']['paddingTop'] : '15',
530 'paddingRight' => $defaults['button']['paddingRight'] ? $defaults['button']['paddingRight'] : '20',
531 'paddingBottom' => $defaults['button']['paddingBottom'] ? $defaults['button']['paddingBottom'] : '15',
532 'paddingLeft' => $defaults['button']['paddingLeft'] ? $defaults['button']['paddingLeft'] : '20',
533 ),
534 'container' => array(
535 'gridItemPaddingTop' => '',
536 'gridItemPaddingRight' => '',
537 'gridItemPaddingBottom' => '',
538 'gridItemPaddingLeft' => '',
539 'bgImageSize' => 'full',
540 'shapeDividers' => array(
541 'shape' => 'gb-waves-1',
542 'location' => 'bottom',
543 'height' => 200,
544 'heightTablet' => '',
545 'heightMobile' => '',
546 'width' => 100,
547 'widthTablet' => '',
548 'widthMobile' => '',
549 'flipHorizontally' => false,
550 'zindex' => '',
551 'color' => '#000000',
552 'colorOpacity' => 1,
553 ),
554 ),
555 );
556
557 if ( function_exists( 'generate_get_default_fonts' ) ) {
558 $font_settings = wp_parse_args(
559 get_option( 'generate_settings', array() ),
560 generate_get_default_fonts()
561 );
562
563 $defaultBlockStyles['headline'] = array(
564 'p' => array(
565 'marginBottom' => $font_settings['paragraph_margin'],
566 'marginBottomTablet' => '',
567 'marginBottomMobile' => '',
568 'marginUnit' => 'em',
569 'fontSize' => $font_settings['body_font_size'],
570 'fontSizeTablet' => '',
571 'fontSizeMobile' => '',
572 'fontSizeUnit' => 'px',
573 ),
574 'h1' => array(
575 'marginBottom' => $font_settings['heading_1_margin_bottom'],
576 'marginBottomTablet' => '',
577 'marginBottomMobile' => '',
578 'marginUnit' => 'px',
579 'fontSize' => $font_settings['heading_1_font_size'],
580 'fontSizeTablet' => '',
581 'fontSizeMobile' => $font_settings['mobile_heading_1_font_size'],
582 'fontSizeUnit' => 'px',
583 ),
584 'h2' => array(
585 'marginBottom' => $font_settings['heading_2_margin_bottom'],
586 'marginBottomTablet' => '',
587 'marginBottomMobile' => '',
588 'marginUnit' => 'px',
589 'fontSize' => $font_settings['heading_2_font_size'],
590 'fontSizeTablet' => '',
591 'fontSizeMobile' => $font_settings['mobile_heading_1_font_size'],
592 'fontSizeUnit' => 'px',
593 ),
594 'h3' => array(
595 'marginBottom' => $font_settings['heading_3_margin_bottom'],
596 'marginBottomTablet' => '',
597 'marginBottomMobile' => '',
598 'marginUnit' => 'px',
599 'fontSize' => $font_settings['heading_3_font_size'],
600 'fontSizeTablet' => '',
601 'fontSizeMobile' => '',
602 'fontSizeUnit' => 'px',
603 ),
604 'h4' => array(
605 'marginBottom' => '20',
606 'marginBottomTablet' => '',
607 'marginBottomMobile' => '',
608 'marginUnit' => 'px',
609 'fontSize' => '',
610 'fontSizeTablet' => '',
611 'fontSizeMobile' => '',
612 'fontSizeUnit' => 'px',
613 ),
614 'h5' => array(
615 'marginBottom' => '20',
616 'marginBottomTablet' => '',
617 'marginBottomMobile' => '',
618 'marginUnit' => 'px',
619 'fontSize' => '',
620 'fontSizeTablet' => '',
621 'fontSizeMobile' => '',
622 'fontSizeUnit' => 'px',
623 ),
624 'h6' => array(
625 'marginBottom' => '20',
626 'marginBottomTablet' => '',
627 'marginBottomMobile' => '',
628 'marginUnit' => 'px',
629 'fontSize' => '',
630 'fontSizeTablet' => '',
631 'fontSizeMobile' => '',
632 'fontSizeUnit' => 'px',
633 ),
634 );
635 }
636
637 return apply_filters( 'generateblocks_default_block_styles', $defaultBlockStyles );
638 }
639