Class WCAL_Abandoned_Orders_Table
Abandoned Cart Lite for WooCommerce
It will handle the common action for the plugin.
- WP_List_Table
- WCAL_Abandoned_Orders_Table
Author: Tyche Softwares
Since: 2.5.2
Located at includes/classes/class-wcal-abandoned-orders-table.php
Methods summary
public
|
|
public
|
#
wcal_abandoned_order_prepare_items( )
It will prepare the list of the abandoned carts, like columns, pagination, sortable column, all data. |
public
array
|
|
public
string
|
|
public
array
|
#
get_sortable_columns( )
We can mention on which column we need the sorting. Here, abandoned cart date, abandoned cart status |
public
string
|
#
column_email( array $abandoned_row_info )
Render the Email Column. So we will add the action on the hover affect. This function used for individual delete of row, It is for hover effect delete. |
public
array
|
|
public
timestamp
|
#
wcal_class_order_date_asc( array $value1, array $value2 )
It will sort the ascending data based on the abandoned cart date. |
public
timestamp
|
#
wcal_class_order_date_dsc( array $value1, array $value2 )
It will sort the descending data based on the abandoned cart date. |
public
sorted
|
#
wcal_class_status_asc( array $value1, array $value2 )
It will sort the alphabetally ascending on the abandoned cart staus. |
public
sorted
|
#
wcal_class_status_dsc( array $value1, array $value2 )
It will sort the alphabetally descending on the abandoned cart staus. |
public
string
|
#
column_default( array $wcal_abandoned_orders, stirng $column_name )
It will display the data for the abanodned column |
public
array
|
|
public
string
|