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

Packages

  • Abandoned-Cart-Pro-for-WooCommerce
    • Admin
      • Action
      • Activate-plugin
      • Component
      • I18N
      • Import-Pro
      • License
      • Menu
      • Notices
      • Popup-Modal
        • Cart-Detail
      • Recover
      • Report
      • Setting
      • Settings
      • SMS
      • Tab
      • Template
    • Ajax-Functions
    • Classes
    • Common-Functions
    • Database-Layer
    • Encrypt-Decrypt-Data
    • Frontend
      • Cart-Capture
      • Cart-Populate
      • Coupon
      • Place-Order
    • Setting
    • Update
  • None

Classes

  • Wcap_Abandoned_Orders_Table
  • Wcap_Abandoned_Trash_Orders_Table
  • Wcap_Atc_Dashboard
  • Wcap_Dashboard_Report
  • Wcap_Dashboard_Report_Action
  • WCAP_Dashboard_Widget_Heartbeat
  • Wcap_Dashboard_Widget_Report
  • Wcap_Load_Hooks
  • Wcap_Load_Scripts
  • WCAP_Manual_Email
  • Wcap_Order_Received
  • Wcap_Product_Report_Table
  • Wcap_Recover_Orders_Table
  • Wcap_Recover_Trash_Orders_Table
  • Wcap_Send_Manual_Email
  • Wcap_Sent_Emails_Table
  • Wcap_SMS_Templates
  • Wcap_Templates_Table
  • Wcap_Tracking_msg

Class Wcap_Templates_Table

Show Email templates list on Email Templates tab.

WP_List_Table
Extended by 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

Methods summary

public
# __construct( )

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

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

Since

2.0

See

WP_List_Table::__construct()
public
# wcap_templates_prepare_items( )

It will prepare the list of the Email Templates, columns, pagination, sortable column and other data.

It will prepare the list of the Email Templates, columns, pagination, sortable column and other data.

Since

2.0
public array
# get_columns( )

It will add the columns for Email Templates Tab.

It will add the columns for Email Templates Tab.

Returns

array
$columns All columns name.

Since

2.0
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.0
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.

We can mention on which column we need the sorting. Here we are sorting Name of the Template & Sent After Set Time.

Returns

array
$columns Name of the column

Since

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

Render the Name of the Template. This function used for individual delete of row, It is for hover effect delete.

Parameters

$template_row_info
$abandoned_row_info Contains all the data of the template row

Returns

string
Data shown in the Email column

Since

2.4.9
public integer
# wcap_get_templates_count( )

This function is used for email templates count.

This function is used for email templates count.

Returns

integer
$this->total_count total count of Email Templates.

Since

2.0

Globals

mixed $wpdb
public array
# wcap_templates_data( )

It will manage for the Email Template list.

It will manage for the Email Template list.

Returns

array
$return_templates_display Key and value of all the columns

Since

2.0

Globals

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

It will sort the alphabetically ascending on Name Of Template column.

It will sort the alphabetically ascending on Name Of Template column.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_template_name_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on Name Of Template column.

It will sort the alphabetically descending on Name Of Template column.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_sent_time_asc( array $value1, array $value2 )

It will sort the alphabetically ascending on the Sent After Set Time column.

It will sort the alphabetically ascending on the Sent After Set Time column.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_sent_time_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on the Sent After Set Time column.

It will sort the alphabetically descending on the Sent After Set Time column.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public string
# column_default( array $wcap_abandoned_orders, stirng $column_name )

It will display the data for the Email Templates.

It will display the data for the Email Templates.

Parameters

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

Returns

string
$value Data of the column

Since

2.0
public array
# get_bulk_actions( )

It will add the bulk action for delete the email template list.

It will add the bulk action for delete the email template list.

Returns

array
$wcap_abandoned_bulk_actions bulk action

Since

2.4.9

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

Since

2.0
# 30
public string $base_url

URL of this page

URL of this page

Since

2.0
#
public integer $total_count

Total number of templates

Total number of templates

Since

2.0
#
API documentation generated by ApiGen