Class Wcap_Templates_Table
Show Email templates list on Email Templates tab.
- WP_List_Table
- Wcap_Templates_Table
Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Since: 2.0
Located at includes/classes/class_wcap_templates_table.php
Author: Tyche Softwares
Since: 2.0
Located at includes/classes/class_wcap_templates_table.php
Methods summary
public
|
|
public
|
#
wcap_templates_prepare_items( )
It will prepare the list of the Email Templates, columns, pagination, sortable column and other data. |
public
array
|
|
public
string
|
|
public
array
|
#
wcap_templates_get_sortable_columns( )
We can mention on which column we need the sorting. Here we are sorting Name of the Template & Sent After Set Time. |
public
string
|
#
column_template_name( array $template_row_info )
Render the Name of the Template. This function used for individual delete of row, It is for hover effect delete. |
public
integer
|
|
public
array
|
|
public
sorted
|
#
wcap_class_template_name_asc( array $value1, array $value2 )
It will sort the alphabetically ascending on Name Of Template column. |
public
sorted
|
#
wcap_class_template_name_dsc( array $value1, array $value2 )
It will sort the alphabetically descending on Name Of Template column. |
public
sorted
|
#
wcap_class_sent_time_asc( array $value1, array $value2 )
It will sort the alphabetically ascending on the Sent After Set Time column. |
public
sorted
|
#
wcap_class_sent_time_dsc( array $value1, array $value2 )
It will sort the alphabetically descending on the Sent After Set Time column. |
public
string
|
#
column_default( array $wcap_abandoned_orders, stirng $column_name )
It will display the data for the Email Templates. |
public
array
|