PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.6.8
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.6.8
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Core/Platform/Elementor.php +2 -6 3.7.33.6.8 View file →
@@ -361,13 +361,9 @@
361 361
362 362 return $_response;
363 363 }
364 364
365 - public function insert( $data, $postId = 0, $settings = [] ) {
366 - if ( ! empty( $settings ) && is_array( $settings ) && ! empty( $data['content'] ) && is_array( $data['content'] ) ) {
367 - $data['content'] = \Templately\Core\Importer\Utils\ElementorSettingsMerger::merge( $data['content'], $settings );
368 - }
369 -
365 + public function insert( $data ) {
370 366 $importer = new ElementorImporter();
371 367
372 368 return $importer->get_data( $data );
373 369 }
@@ -418,5 +414,5 @@
418 414 }
419 415
420 416 return $child_type;
421 417 }
422 -}
418 +}