]> _ Git - cube-wp-translate.git/commitdiff
Add field definitions for feature grid widget (as used on Mirakl). WIP #3211 @0.25 master
authorStephen Cameron <stephen@cubedesigners.com>
Wed, 27 Oct 2021 15:42:09 +0000 (17:42 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Wed, 27 Oct 2021 15:42:09 +0000 (17:42 +0200)
src/Elementor/Translation.php

index ce4bf2012fcbdc0c8bfd1115a1f0a51428b9e48f..d2da10f658e8f177eb82f173264837eaca4ada5a 100644 (file)
@@ -192,6 +192,14 @@ class Translation
                     'caption' => self::TYPE_TEXT,
                 ],
             ],
                     'caption' => self::TYPE_TEXT,
                 ],
             ],
+            'cube-feature-grid' => [
+                'items' => [
+                    'title' => self::TYPE_TEXT,
+                    'content' => self::TYPE_HTML,
+                    'cta_text' => self::TYPE_TEXT,
+                    'cta_link.url' => self::TYPE_TEXT,
+                ],
+            ],
 
         ];
 
 
         ];