Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Abandoned-Cart-Lite-for-WooCommerce
    • Admin
      • Admin-Action
      • Admin-Notice
      • Component
      • Default-Template
      • List-Class
      • Tracking-Data
      • Welcome-Page
    • Common-Functions
    • Core
    • Cron
    • Encrypt-Decrypt-Data
    • Frontend
      • Capture-Guest-Cart
    • Tracking
    • Uninstaller
  • None

Classes

  • TS_deactivate
  • TS_Faq_Support
  • ts_pro_notices
  • TS_Tracker
  • TS_tracking
  • TS_Welcome
  • TS_Woo_Active
  • Wcal_Personal_Data_Eraser
  • Wcal_Personal_Data_Export

Class TS_tracking

Adds the Tracking non-senstive data notice

Located at includes/component/tracking data/ts-tracking.php

Methods summary

public
# __construct( $ts_plugin_prefix = '', $ts_plugin_name = '', $ts_blog_post_link = '', $ts_plugin_context = '', $ts_plugin_url = '', $setting_page = '', $add_setting = '', $setting_section = '', $setting_register = '' )

Default Constructor

Default Constructor

public static
# ts_reset_tracking_setting( )

It will delete the tracking option from the database.

It will delete the tracking option from the database.

public static
# ts_add_reset_tracking_setting( )

It will add the settinig, which will allow store owner to reset the tracking data. Which will result into stop trakcing the data.

It will add the settinig, which will allow store owner to reset the tracking data. Which will result into stop trakcing the data.

Hook

self::$plugin_prefix . '_add_new_settings'
public static
# ts_reset_tracking_setting_section_callback( )
public static
# ts_rereset_tracking_callback( array $args )

It will add the Reset button on the settings page.

It will add the Reset button on the settings page.

Parameters

$args
public static array
# ts_add_cron_schedule( array $schedules )

It will add a cron job for sending the tarcking data. By default it will set once in a week interval.

It will add a cron job for sending the tarcking data. By default it will set once in a week interval.

Parameters

$schedules

Returns

array
$schedules

Hook

cron_schedules
public static
# ts_schedule_cron_job( )

To capture the data from the client site.

To capture the data from the client site.

public static
# ts_admin_notices_scripts( )

Load the js file in the admin

Load the js file in the admin

Since

6.8
public static
# ts_admin_notices( )

Called when the dismiss icon is clicked on the notice.

Called when the dismiss icon is clicked on the notice.

Since

6.8
public static
# ts_track_usage_data( )

Adds a data usage tracking notice in the admin

Adds a data usage tracking notice in the admin

Since

6.8

Properties summary

public static string $plugin_prefix

Plugin prefix

Plugin prefix

# ''
public static string $plugin_name

Plugin Name

Plugin Name

# ''
public static string $blog_post_link

Tracking data blog post link

Tracking data blog post link

# ''
public static string $plugin_context

Plugin context

Plugin context

# ''
public static string $plugin_url

Plugin url

Plugin url

# ''
public static string $ts_file_path

File path

File path

# ''
public static string $ts_plugin_locale

plugin locale

plugin locale

# ''
public static string $ts_settings_page

Settings page

Settings page

# ''
public static string $ts_add_setting_on_page

On which setting page need to add setting

On which setting page need to add setting

# ''
public static string $ts_add_setting_on_section

On which section setting need to add

On which section setting need to add

# ''
public static string $ts_register_setting

Register setting

Register setting

# ''
API documentation generated by ApiGen