Class WCAL_Templates_Table
Abandoned Cart Lite for WooCommerce
It will handle the common action for the plugin.
- WP_List_Table
- 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
Author: Tyche Softwares
Since: 2.5.2
Located at includes/classes/class-wcal-templates-table.php
Methods summary
public
|
|
public
|
#
wcal_templates_prepare_items( )
It will prepare the list of the templates, like columns, pagination, sortable column, all data. |
public
array
|
|
public
string
|
|
public
array
|
#
templates_get_sortable_columns( )
We can mention on which column we need the sorting. Here we have template name, email sent time |
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. |
public
array
|
|
public
sorted
|
#
wcal_class_template_name_asc( array $value1, array $value2 )
It will sort the data alphabetally ascending on the template name. |
public
sorted
|
#
wcal_class_template_name_dsc( array $value1, array $value2 )
It will sort the data alphabetally descending on the template name. |
public
sorted
|
#
wcal_class_sent_time_asc( array $value1, array $value2 )
It will sort the data alphanumeric ascending on the template time. |
public
sorted
|
#
wcal_class_sent_time_dsc( array $value1, array $value2 )
It will sort the data alphanumeric descending on the template time. |
public
string
|
#
column_default( array $wcal_abandoned_orders, stirng $column_name )
It will display the data for the templates list |
public
array
|