PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.87
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.87
51.1.87 51.1.86 51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 All 41 releases
← All changes | includes/helpers/Woo_Builder/Document.php +20 -5 51.1.44 → 51.1.87 View file →
@@ -44,18 +44,33 @@
44 44 * @return array<string,mixed>
45 45 */
46 46 public static function get_properties(): array
47 47 {
48 - return [
48 + $properties = parent::get_properties();
49 +
50 + return array_merge($properties, [
49 51 'location' => 'woo-builder',
50 52 'support_wp_page_templates' => true,
51 53 'support_site_editor' => false,
52 54 'has_elements' => true,
53 - ];
55 + 'support_kit' => true,
56 + 'cpt' => ['elementor_library'],
57 + ]);
54 58 }
55 -}
56 59
60 + /**
61 + * Get the document edit URL.
62 + *
63 + * @return string
64 + */
65 + public function get_edit_url(): string
66 + {
67 + $url = parent::get_edit_url();
57 68
69 + if ($url) {
70 + $url = add_query_arg('action', 'elementor', $url);
71 + }
58 72
59 -
60 -
73 + return $url;
74 + }
75 +}
61 76