Class Wcap_Recover_Trash_Orders_Table
This class is used to display trashed recovered orders.
- WP_List_Table
- Wcap_Recover_Trash_Orders_Table
Author: Tyche Softwares
Since: 4.3
Located at includes/classes/class_wcap_recover_trash_orders_table.php
Methods summary
public
|
|
public
|
#
wcap_recovered_orders_prepare_items( )
It will prepare the list of the recovered orders, columns and other data. |
public
array
|
|
public
|
|
public
array
|
#
recovered_orders_get_sortable_columns( )
We can mention on which column we need the sorting. Here we are sorting on Cart Abandoned Date & Cart Recovered Date. |
public
string
|
#
column_user_name( array $recovered_orders_row_info )
This function used for deleting individual row of Recovered Orders. Render the Email Column. So we will add the action on the hover affect. |
public
String
|
#
wcap_recovered_orders_data( )
It will manage the recovered items from database and shows it on Recovered Orders tab with the custom email address and cart abandoned & recovered date. |
public
sorted
|
#
wcap_class_recovered_created_on_asc( array $value1, array $value2 )
It will sort the alphabetically ascending on Cart Abandoned Date. |
public
sorted
|
#
wcap_class_recovered_created_on_dsc( array $value1, array $value2 )
It will sort the alphabetically descending on Cart Abandoned Date. |
public
sorted
|
#
wcap_class_recovered_date_asc( array $value1, array $value2 )
It will sort the alphabetically ascending on Cart Recovered Date. |
public
sorted
|
#
wcap_class_recovered_date_dsc( array $value1, array $value2 )
It will sort the alphabetically descending on Cart Recovered Date. |
public
string
|
#
column_default( array $wcap_abandoned_orders, stirng $column_name )
It will display the data for the Recovered Orders tab. |
public
|
Properties summary
public
string
|
$per_page
Number of results to show per page |
#
30
|
public
string
|
$base_url
URL of this page |
|
public
integer
|
$total_count
Total number of recovered orders |
|
public
integer
|
$total_abandoned_cart_count
Total number of abandoned orders |
|
public
integer
|
$total_order_amount
Total amount of abandoned orders |
|
public
integer
|
$recovered_item
Total number recovered orders item |
|
public
integer
|
$total_recover_amount
Total number recovered orders total |