PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.9.1
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.9.1
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
ablocks / includes / blocks / table / attributes.php

attributes.php in aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder 2.9.1, at includes/blocks/table/attributes.php

75 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 use ABlocks\Controls\Border;
7 $attributes = [
8 'block_id' => [
9 'type' => 'string',
10 ],
11 'tableCreated' => [
12 'type' => 'boolean',
13 'default' => false,
14 ],
15 'isHeader' => [
16 'type' => 'boolean',
17 'default' => '',
18 ],
19 'isFooter' => [
20 'type' => 'boolean',
21 'default' => '',
22 ],
23 'rowOddColor' => [
24 'type' => 'string',
25 'default' => ''
26 ],
27 'rowOddColorH' => [
28 'type' => 'string',
29 'default' => ''
30 ],
31 'rowEvenColor' => [
32 'type' => 'string',
33 'default' => ''
34 ],
35 'rowEvenColorH' => [
36 'type' => 'string',
37 'default' => ''
38 ],
39 'bodyBg' => [
40 'type' => 'string',
41 ],
42 'bodyBgH' => [
43 'type' => 'string',
44 ],
45 'headerColor' => [
46 'type' => 'string',
47
48 'default' => '',
49 ],
50 'headerColorH' => [
51 'type' => 'string',
52 'default' => ''
53 ],
54 'footerColor' => [
55 'type' => 'string',
56
57 'default' => '',
58 ],
59 'footerColorH' => [
60 'type' => 'string',
61 'default' => ''
62 ],
63 'borderCollapse' => [
64 'type' => 'string',
65 'default' => 'collapse'
66 ]
67 ];
68 $attributes = array_merge(
69 $attributes,
70 Border::get_attribute( 'border', true ),
71 );
72
73 return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );
74
75