PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.2
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.2
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / blocks / includes / buttons / attributes.php

attributes.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.2, at blocks/includes/buttons/attributes.php

83 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Buttons block attributes file for Smart Post Show Blocks.
4 *
5 * @package Smart_Post_Show_Pro
6 * @subpackage Smart_Post_Show_Pro/blocks/includes
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 return array(
13 'uniqueId' => array(
14 'type' => 'string',
15 'default' => '',
16 ),
17 'innerBlockId' => array(
18 'type' => 'string',
19 'default' => '',
20 ),
21 'dynamicCss' => array( 'type' => 'string' ),
22 'fullWidthBtnEnable' => array(
23 'type' => 'boolean',
24 'default' => false,
25 ),
26 'buttonGap' => array(
27 'type' => 'object',
28 'default' => array(
29 'device' => array(
30 'Desktop' => 16,
31 'Tablet' => '',
32 'Mobile' => '',
33 ),
34 'unit' => array(
35 'Desktop' => 'px',
36 'Tablet' => 'px',
37 'Mobile' => 'px',
38 ),
39 ),
40 ),
41 'buttonsMargin' => $this->spacing_attribute( 0, 0, 0, 0, 'px', true ),
42 'buttonsHorizontalAlignment' => array(
43 'type' => 'string',
44 'default' => 'flex-start',
45 ),
46 'buttonsVerticalAlignment' => array(
47 'type' => 'string',
48 'default' => 'flex-start',
49 ),
50 'buttonsAlignment' => array(
51 'type' => 'string',
52 'default' => 'horizontal',
53 ),
54 'isPreview' => array(
55 'type' => 'boolean',
56 'default' => false,
57 ),
58 'additionalCssClass' => array(
59 'type' => 'string',
60 'default' => '',
61 ),
62 'customCss' => array(
63 'type' => 'string',
64 'default' => '',
65 ),
66 'hideOnDesktop' => array(
67 'type' => 'boolean',
68 'default' => false,
69 ),
70 'hideOnTablet' => array(
71 'type' => 'boolean',
72 'default' => false,
73 ),
74 'hideOnMobile' => array(
75 'type' => 'boolean',
76 'default' => false,
77 ),
78 'globalBreakPointData' => array(
79 'type' => 'object',
80 'default' => array(),
81 ),
82 );
83