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_Widget_Report

This class will get the Abandoned Carts, Recovered Orders and products data from database.

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

Methods summary

public integer
# get_today_reports( String $type )

Get the report of Today.

Get the report of Today.

Parameters

$type
Types of case-abandoned, recover, ratio

Returns

integer
$count Count data

Since

2.8

Globals

mixed $wpdb
public integer
# get_this_month_reports( String $type )

Get the report of this month.

Get the report of this month.

Parameters

$type
Types of case-abandoned, recover, ratio

Returns

integer
$count_month Count data

Since

2.8

Globals

mixed $wpdb
public integer
# get_last_month_reports( String $type )

Get the report of Last Month.

Get the report of Last Month.

Parameters

$type
Types of case-abandoned, recover, ratio

Returns

integer
$count_last_month Count data

Since

2.8

Globals

mixed $wpdb
public integer
# get_total_reports( String $type )

Get the total reports.

Get the total reports.

Parameters

$type
Types of case-abandoned, recover, ratio

Returns

integer
$count_last_month Count data

Since

2.8

Globals

mixed $wpdb
public integer
# get_product( String $type )

Get Abandoned and Recovered Products to show Top Abandoned Product & Top Recovered Product on Dashboard Widget page.

Get Abandoned and Recovered Products to show Top Abandoned Product & Top Recovered Product on Dashboard Widget page.

Parameters

$type
Types of case-abandoned, recover.

Returns

integer
$$product_id Product ID

Since

2.8

Globals

mixed $wpdb
API documentation generated by ApiGen