PluginProbe
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder / 3.0.2
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder v3.0.2
3.1.4 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 All 93 releases
ultimate-store-kit / includes / ultimate-store-kit-activator.php

ultimate-store-kit-activator.php in Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder 3.0.2, at includes/ultimate-store-kit-activator.php

30 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 use Elementor\TemplateLibrary\Source_Local;
4
5 class Ultimate_Store_Kit_Activator {
6
7 public static function activate() {
8 return true;
9 // $slug = ultimate_store_kit_compare_product_slug();
10 // $page = get_page_by_path($slug);
11
12 // $response = '{"content":[{"id":"1eecdd6d","settings":[],"elements":[{"id":"142882c1","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"2da2ac3a","settings":[],"elements":[],"isInner":false,"widgetType":"usk-compare-products","elType":"widget"}],"isInner":false,"elType":"column"}],"isInner":false,"elType":"section"}],"page_settings":[],"version":"0.4","title":"Compare page","type":"section"}';
13 // $page_data = array(
14 // 'post_status' => 'publish',
15 // 'post_type' => 'page',
16 // 'post_author' => 1,
17 // 'post_name' => $slug,
18 // 'post_title' => 'Compare Products',
19 // 'post_content' => $response,
20 // 'comment_status' => 'closed',
21 // );
22
23 // if (isset($page->ID) && is_integer($page->ID)) {
24 // wp_update_post($page_data);
25 // } else {
26 // wp_insert_post($page_data);
27 // }
28 }
29 }
30