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

Packages

  • Abandoned-Cart-Lite-for-WooCommerce
    • Admin
      • Admin-Action
      • Admin-Notice
      • Component
      • Default-Template
      • List-Class
      • Tracking-Data
      • Welcome-Page
    • Common-Functions
    • Core
    • Cron
    • Encrypt-Decrypt-Data
    • Frontend
      • Capture-Guest-Cart
    • Tracking
    • Uninstaller
  • None

Classes

  • WCAL_Abandoned_Orders_Table
  • WCAL_Product_Report_Table
  • wcal_Recover_Orders_Table
  • WCAL_Templates_Table

Class WCAL_Abandoned_Orders_Table

Abandoned Cart Lite for WooCommerce

It will handle the common action for the plugin.

WP_List_Table
Extended by WCAL_Abandoned_Orders_Table
Package: Abandoned-Cart-Lite-for-WooCommerce\Admin\List-Class
Author: Tyche Softwares
Since: 2.5.2
Located at includes/classes/class-wcal-abandoned-orders-table.php

Methods summary

public
# __construct( )

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

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

Since

2.5.2

See

WP_List_Table::__construct()
public
# wcal_abandoned_order_prepare_items( )

It will prepare the list of the abandoned carts, like columns, pagination, sortable column, all data.

It will prepare the list of the abandoned carts, like columns, pagination, sortable column, all data.

Since

2.5.2
public array
# get_columns( )

It will add the columns for abanodned orders list.

It will add the columns for abanodned orders list.

Returns

array
$columns All columns name.

Since

2.5.2
public string
# column_cb( $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.5.2
public array
# get_sortable_columns( )

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

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

Returns

array
$columns Name of the column

Since

2.5.2
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.

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.

Parameters

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

Returns

string
$value shown in the Email column.

Since

2.5.2
public array
# wcal_abandoned_cart_data( )

It will generate the abandoned cart list data.

It will generate the abandoned cart list data.

Returns

array
$return_abandoned_orders_display Key and value of all the columns

Since

2.5.2

Globals

mixed $wpdb
public timestamp
# wcal_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

2.5.2
public timestamp
# wcal_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

2.5.2
public sorted
# wcal_class_status_asc( array $value1, array $value2 )

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

It will sort the alphabetally 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

2.5.2
public sorted
# wcal_class_status_dsc( array $value1, array $value2 )

It will sort the alphabetally descending on the abandoned cart staus.

It will sort the alphabetally descending 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

2.5.2
public string
# column_default( array $wcal_abandoned_orders, stirng $column_name )

It will display the data for the abanodned column

It will display the data for the abanodned column

Parameters

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

Returns

string
$value Data of the column

Since

2.5.2
public array
# get_bulk_actions( )

It will add the bulk action, here Delete

It will add the bulk action, here Delete

Returns

array

Since

2.5.2
public string
# wcal_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.5.2

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

Since

2.5.2
# 30
public string $base_url

URL of this page

URL of this page

Since

2.5.2
#
public integer $total_count

Total number of bookings

Total number of bookings

Since

2.5.2
#
API documentation generated by ApiGen