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_Templates_Table

Abandoned Cart Lite for WooCommerce

It will handle the common action for the plugin.

WP_List_Table
Extended by WCAL_Templates_Table
Package: Abandoned-Cart-Lite-for-WooCommerce\Admin\List-Class
Author: Tyche Softwares
Since: 2.5.2
Located at includes/classes/class-wcal-templates-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_templates_prepare_items( )

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

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

Since

2.5.2
public array
# get_columns( )

It will add the columns templates list.

It will add the columns templates list.

Returns

array
$columns All columns name.

Since

2.5.2
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.5.2
public array
# templates_get_sortable_columns( )

We can mention on which column we need the sorting. Here we have template name, email sent time

We can mention on which column we need the sorting. Here we have template name, email sent time

Returns

array
$columns Name of the column

Since

2.5.2
public string
# column_template_name( array $template_row_info )

It will add the hover link on the template name. This function used for individual delete, edit of row.

It will add the hover link on the template name. This function used for individual delete, edit of row.

Parameters

$template_row_info
Contains all the data of the template row

Returns

string
$value All hover links, here we have edit and delete

Since

2.5.2
public array
# wcal_templates_data( )

It will generate the templates list data.

It will generate the templates list data.

Returns

array
$return_templates_data_display Key and value of all the columns

Since

2.5.2

Globals

mixed $wpdb
public sorted
# wcal_class_template_name_asc( array $value1, array $value2 )

It will sort the data alphabetally ascending on the template name.

It will sort the data alphabetally ascending on the template name.

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_template_name_dsc( array $value1, array $value2 )

It will sort the data alphabetally descending on the template name.

It will sort the data alphabetally descending on the template name.

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_sent_time_asc( array $value1, array $value2 )

It will sort the data alphanumeric ascending on the template time.

It will sort the data alphanumeric ascending on the template time.

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_sent_time_dsc( array $value1, array $value2 )

It will sort the data alphanumeric descending on the template time.

It will sort the data alphanumeric descending on the template time.

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 templates list

It will display the data for the templates list

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

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 email templates

Total number of email templates

Since

2.5.3
#
API documentation generated by ApiGen