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_Abandoned_Orders_Table

Show Abandoned Carts data on Abandoned Orders tab.

WP_List_Table
Extended by Wcap_Abandoned_Orders_Table
Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Since: 2.4.7
Located at includes/classes/class_wcap_abandoned_orders_table.php

Methods summary

public
# __construct( )

It will add the bulk action and other variable needed for the class.

It will add the bulk action and other variable needed for the class.

Since

2.4.7

See

WP_List_Table::__construct()
public
# wcap_abandoned_order_prepare_items( )

It will prepare the list of the abandoned carts, columns, pagination, sortable column and other data.

It will prepare the list of the abandoned carts, columns, pagination, sortable column and other data.

Since

2.0
public array
# get_columns( )

It will add the columns for Abanodned Orders Tab.

It will add the columns for Abanodned Orders Tab.

Returns

array
$columns All columns name.

Since

2.0
public string
# column_cb( string $item )

It is used to add the check box for the items

It is used to add the check box for the items

Parameters

$item

Returns

string

Since

2.0
public array
# get_sortable_columns( )

We can mention on which column we need the sorting. Here we are sorting abandoned cart date & abandoned cart status.

We can mention on which column we need the sorting. Here we are sorting abandoned cart date & abandoned cart status.

Returns

array
$columns Name of the column

Since

2.0
public string
# column_email( array $abandoned_row_info )

This function used for deleting individual row of abandoned Cart. Render the Email Column. So we will add the action on the hover affect.

This function used for deleting individual row of abandoned Cart. Render the Email Column. So we will add the action on the hover affect.

Parameters

$abandoned_row_info
Contains all the data of the abandoned order tabs row

Returns

string
Data shown in the Email column

Since

2.0
public integer
# wcap_get_total_abandoned_count( )

It will get the abandoned cart data from data base.

It will get the abandoned cart data from data base.

Returns

integer
$results_count total count of Abandoned Cart data.

Since

2.0

Globals

mixed $wpdb
public array
# wcap_abandoned_cart_data( )

It will generate the abandoned cart list data.

It will generate the abandoned cart list data.

Returns

array
$return_abandoned_orders Key and value of all the columns

Since

2.0

Globals

mixed $wpdb
mixed $woocommerce
public timestamp
# wcap_class_order_date_asc( array $value1, array $value2 )

It will sort the ascending data based on the abandoned cart date.

It will sort the ascending data based on the abandoned cart date.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

timestamp

Since

3.4
public timestamp
# wcap_class_order_date_dsc( array $value1, array $value2 )

It will sort the descending data based on the abandoned cart date.

It will sort the descending data based on the abandoned cart date.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

timestamp

Since

3.4
public sorted
# wcap_class_status_asc( array $value1, array $value2 )

It will sort the alphabetically ascending on the abandoned cart staus.

It will sort the alphabetically ascending on the abandoned cart staus.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_status_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on the abandoned cart status.

It will sort the alphabetically descending on the abandoned cart status.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public string
# column_default( array $wcap_abandoned_orders, stirng $column_name )

It will display the data for the abanodned column.

It will display the data for the abanodned column.

Parameters

$wcap_abandoned_orders
object $wcap_abandoned_orders All data of the list
$column_name
Name of the column

Returns

string
$value Data of the column

Since

3.4
public array
# get_bulk_actions( )

It will add the bulk action for move to trash and Send Custom email.

It will add the bulk action for move to trash and Send Custom email.

Returns

array
$wcap_abandoned_bulk_actions bulk action

Since

2.4.7
public string
# wcap_get_current_section( )

It will give the section name.

It will give the section name.

Returns

string
$section Name of the current section

Since

2.4.7

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

Since

2.4.7
# 30
public string $base_url

URL of this page

URL of this page

Since

2.4.7
#
public integer $total_count

Total number of abandoned carts

Total number of abandoned carts

Since

2.4.7
#
API documentation generated by ApiGen