PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 1.2.2
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v1.2.2
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
sellkit / includes / core / update / updater-functions.php

updater-functions.php in SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster 1.2.2, at includes/core/update/updater-functions.php

39 lines 691 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sellkit\Core\Update;
4
5 use Sellkit\Core\Install;
6 use Sellkit\Database;
7
8 defined( 'ABSPATH' ) || die();
9
10 /**
11 * Class Updater functions.
12 *
13 * @since 1.1.0
14 */
15 class Updater_Functions {
16
17 /**
18 * First background process updating function.
19 *
20 * @since 1.1.0
21 */
22 public function check_database_tables() {
23 Install::check_database_tables();
24 }
25
26 /**
27 * Add ip to contact segmentation column.
28 *
29 * @since 1.2.1
30 */
31 public function add_ip_column_to_contact_segmentation() {
32 global $wpdb;
33
34 $prefix = $wpdb->prefix . Database::DATABASE_PREFIX;
35
36 $wpdb->query("ALTER TABLE {$prefix}contact_segmentation ADD ip VARCHAR (255) NULL DEFAULT NULL"); // phpcs:ignore
37 }
38 }
39