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

Packages

  • Abandoned-Cart-Pro-for-WooCommerce
    • Admin
      • Action
      • Activate-plugin
      • Component
      • I18N
      • Import-Pro
      • License
      • Menu
      • Notices
      • Popup-Modal
        • Cart-Detail
      • Recover
      • Report
      • Setting
      • Settings
      • SMS
      • Tab
      • Template
    • Ajax-Functions
    • Classes
    • Common-Functions
    • Database-Layer
    • Encrypt-Decrypt-Data
    • Frontend
      • Cart-Capture
      • Cart-Populate
      • Coupon
      • Place-Order
    • Setting
    • Update
  • None

Classes

  • Wcap_Abandoned_Orders_Table
  • Wcap_Abandoned_Trash_Orders_Table
  • Wcap_Atc_Dashboard
  • Wcap_Dashboard_Report
  • Wcap_Dashboard_Report_Action
  • WCAP_Dashboard_Widget_Heartbeat
  • Wcap_Dashboard_Widget_Report
  • Wcap_Load_Hooks
  • Wcap_Load_Scripts
  • WCAP_Manual_Email
  • Wcap_Order_Received
  • Wcap_Product_Report_Table
  • Wcap_Recover_Orders_Table
  • Wcap_Recover_Trash_Orders_Table
  • Wcap_Send_Manual_Email
  • Wcap_Sent_Emails_Table
  • Wcap_SMS_Templates
  • Wcap_Templates_Table
  • Wcap_Tracking_msg

Class Wcap_Dashboard_Report

Shows the report on dashboard tab.

Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Since: 3.5
Located at includes/classes/class_wcap_dashboard_report.php

Methods summary

public string
# get_begin_of_month( string $selected_data_range, string $user_start_date )

Select the start date range

Select the start date range

Parameters

$selected_data_range
Selected Date Range
$user_start_date
Start Date

Returns

string
$begin_date Start Date

Since

3.5
public
# get_end_of_month( string $selected_data_range, string $user_end_date )

Select the end date range

Select the end date range

Parameters

$selected_data_range
Selected Date Range
$user_end_date
$user_start_date Start Date

Returns


$end_date End date

Since

3.5
public integer
# get_this_month_amount_reports( string $type, string $selected_data_range, string $start_date, string $end_date )

Get the report of recover orders, total sales of current month.

Get the report of recover orders, total sales of current month.

Parameters

$type
Recovere & total sales
$selected_data_range
Selected Date range
$start_date
start date
$end_date
end date

Returns

integer
$count_month Recover Amount and total sales

Since

3.5
public integer
# get_this_month_number_reports( string $type, string $selected_data_range, string $start_date, string $end_date )

Get the report of abandoned carts, recovered Orders of current month.

Get the report of abandoned carts, recovered Orders of current month.

Parameters

$type
Recovere & total sales
$selected_data_range
Selected Date range
$start_date
start date
$end_date
end date

Returns

integer
$count Abandoned Amount & Recover Amount

Since

3.5
public integer
# get_this_month_total_vs_abandoned_order( string $type, string $selected_data_range, string $start_date, string $end_date )

Get the report of abandoned carts, recovered Orders of current month.

Get the report of abandoned carts, recovered Orders of current month.

Parameters

$type
Abandoned carts & total orders
$selected_data_range
Selected Date range
$start_date
start date
$end_date
end date

Returns

integer
$count Abandoned carts & total orders

Since

3.5
public integer
# wcap_get_email_report( string $type, string $selected_data_range, string $user_start_date, string $user_end_date )

Get the report of Email Sent, opened emails & Email Clicked of current month.

Get the report of Email Sent, opened emails & Email Clicked of current month.

Parameters

$type
Email Sent, opened emails & Email Clicked
$selected_data_range
Selected Date range
$user_start_date
$start_date start date
$user_end_date
$end_date end date

Returns

integer
$count total count of Email Sent, opened emails & Email Clicked

Since

3.5
public integer
# wcap_get_total_email_sent_count( string $start_date_db, string $end_date_db )

Get total count of Email Sent.

Get total count of Email Sent.

Parameters

$start_date_db
$start_date start date
$end_date_db
$end_date end date

Returns

integer
$count total count of Email Sent

Since

3.5

Globals

mixed $wpdb
public integer
# wcap_get_total_emails_opened( string $start_date_db, string $end_date_db )

Get the total count of email opened.

Get the total count of email opened.

Parameters

$start_date_db
$start_date start date
$end_date_db
$end_date end date

Returns

integer
$wcap_opened_emails total count of Email opened.

Since

3.5

Globals

mixed $wpdb
public integer
# wcap_get_total_emails_clicked( string $start_date_db, string $end_date_db )

Get the total count of email clicked.

Get the total count of email clicked.

Parameters

$start_date_db
$start_date start date
$end_date_db
$end_date end date

Returns

integer
$wcap_opened_emails total count of Email opened.

Since

3.5

Globals

mixed $wpdb
public integer
# get_wc_total_sales( string $begin_of_month, string $end_of_month )

Get the total count of Sales of store.

Get the total count of Sales of store.

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total count of Sales.

Since

3.5

Globals

mixed $wpdb
public integer
# get_current_month_recovered_amount( string $begin_of_month, string $end_of_month )

Get the Amount of Recover Orders

Get the Amount of Recover Orders

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total amount of recover orders.

Since

3.5

Globals

mixed $wpdb
public integer
# get_current_month_abandoned_amount( string $begin_of_month, string $end_of_month )

Get the Amount of Abandoned Orders.

Get the Amount of Abandoned Orders.

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total amount of Abandoned Orders.

Since

3.5

Globals

mixed $wpdb
public integer
# get_current_month_abandoned_count( string $begin_of_month, string $end_of_month )

Get the total count of Sales of Abandoned Orders.

Get the total count of Sales of Abandoned Orders.

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total count of Abandoned Orders.

Since

3.5

Globals

mixed $wpdb
public integer
# get_current_month_recovered_count( string $begin_of_month, string $end_of_month )

Get the total count of Recovered Orders.

Get the total count of Recovered Orders.

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total count of Recovered Orders.

Since

3.5

Globals

mixed $wpdb
public integer
# get_this_month_wc_total_order_count( string $begin_of_month, string $end_of_month )

Get the total count of sales of store.

Get the total count of sales of store.

Parameters

$begin_of_month
Start date of month
$end_of_month
end date of month

Returns

integer
$count_month total count of Sales.

Since

3.5

Globals

mixed $wpdb
public integer
# wcap_get_total_email_sent_for_template( integer $wcap_template_id, string $selected_data_range, string $start_date, string $end_date )

Get the total Email Sents.

Get the total Email Sents.

Parameters

$wcap_template_id
Email Template ID
$selected_data_range
Selected Date Range
$start_date
Start date
$end_date
end date

Returns

integer
$wcap_emails_sent_count total count of Email Sent.

Since

3.9

Globals

mixed $wpdb
public integer
# wcap_get_total_email_open_for_template( integer $wcap_template_id, string $selected_data_range, string $start_date, string $end_date )

Get the total count of Email Opened.

Get the total count of Email Opened.

Parameters

$wcap_template_id
Email Template ID
$selected_data_range
Selected Date Range
$start_date
Start date
$end_date
end date

Returns

integer
$wcap_emails_opened_count total count of Email Opened.

Since

3.9

Globals

mixed $wpdb
public integer
# wcap_get_total_email_click_for_template( integer $wcap_template_id, string $selected_data_range, string $start_date, string $end_date )

Get the total count of Email link clicked.

Get the total count of Email link clicked.

Parameters

$wcap_template_id
Email Template ID
$selected_data_range
Selected Date Range
$start_date
Start date
$end_date
end date

Returns

integer
$wcap_emails_clicked_count total count of Email link clicked.

Since

3.9

Globals

mixed $wpdb
public integer
# wcap_get_total_email_recover_for_template( integer $wcap_template_id, string $selected_data_range, string $start_date, string $end_date )

Get the Recovery Rate for template.

Get the Recovery Rate for template.

Parameters

$wcap_template_id
Email Template ID
$selected_data_range
Selected Date Range
$start_date
Start date
$end_date
end date

Returns

integer
$number_order_recovered_count Recovery Rate.

Since

3.9

Globals

mixed $wpdb
public integer
# wcap_get_atc_data_of_range( string $selected_data_range, string $start_date, string $end_date )

Get the Add to Cart Popup Modal Data.

Get the Add to Cart Popup Modal Data.

Parameters

$selected_data_range
Selected Date Range
$start_date
Start date
$end_date
end date

Returns

integer
$wcap_post_ac_atc_stats Add To Cart Popup States.

Since

6.0

Globals

mixed $wpdb
API documentation generated by ApiGen