PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.16.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.16.0
2.16.0 2.15.0 2.14.0 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 All 83 releases
← All changes | includes/blocks/price-menu-item/attributes.php +8 -3 2.15.0 → 2.16.0 View file →
@@ -59,9 +59,9 @@
59 59 'default' => '',
60 60 ],
61 61 // divider related attributes
62 62 'placeDivider' => [
63 - 'type' => 'string',
63 + 'type' => [ 'string', 'object' ],
64 64 'default' => 'near title',
65 65 ],
66 66 'dividerPatternUrl' => [
67 67 'type' => 'string',
@@ -81,9 +81,9 @@
81 81 'selector' => '.ablocks-price-menu-item-price',
82 82 'default' => '$15.00',
83 83 ],
84 84 'placePrice' => [
85 - 'type' => 'string',
85 + 'type' => [ 'string', 'object' ],
86 86 'default' => 'right',
87 87 ],
88 88 'priceTag' => [
89 89 'type' => 'string',
@@ -92,8 +92,12 @@
92 92 'priceColor' => [
93 93 'type' => 'string',
94 94 'default' => '',
95 95 ],
96 + 'priceAlignmentCustom' => [
97 + 'type' => 'boolean',
98 + 'default' => false,
99 + ],
96 100 ];
97 101
98 102 $attributes = array_merge(
99 103 $attributes,
@@ -126,9 +130,10 @@
126 130 'isResponsive' => true,
127 131 'defaultValue' => null,
128 132 'defaultValueMobile' => null,
129 133 'defaultValueTablet' => null,
130 - 'hasUnit' => false,
134 + 'hasUnit' => true,
135 + 'unitDefaultValue' => '',
131 136 ] ),
132 137 Range::get_attribute( [
133 138 'attributeName' => 'weight',
134 139 'isResponsive' => false,