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_Email_Template_Fields
  • Wcap_Email_Template_List
  • Wcap_Tiny_Mce

Class Wcap_Email_Template_List

It will display the email template listing, also it will add, update & delete the email template in the database.

Package: Abandoned-Cart-Pro-for-WooCommerce\Admin\Template
Author: Tyche Softwares
Since: 5.0
Located at includes/admin/wcap_email_template_list.php

Methods summary

public static
# wcap_display_email_template_list( string $wcap_action, string $wcap_section, string $wcap_mode )

It will display the email template listing, also it will add, update & delete the email template in the database.

It will display the email template listing, also it will add, update & delete the email template in the database.

Parameters

$wcap_action
Action name
$wcap_section
Section Name
$wcap_mode
Mode name.

Since

5.0

Globals

mixed $wpdb
mixed $woocommerce
public static true
# wcap_save_email_template( )

It will save the new created email templates.

It will save the new created email templates.

Returns

true
| false $insert_template_successfuly_pro If template inserted successfully

Since

5.0
public static true
# wcap_insert_template_data( integer $active_post, integer $coupon_code_id, integer $unique_coupon, integer $is_wc_template, string $selected_template_filter )

It will insert the new email template data into the database. It will insert the post meta, it is used to check that for the old cart we will not send this email template. Also it will insert the post meta for the email action, it will decide who will recive this email template.

It will insert the new email template data into the database. It will insert the post meta, it is used to check that for the old cart we will not send this email template. Also it will insert the post meta for the email action, it will decide who will recive this email template.

Parameters

$active_post
string $active_post Template active or not
$coupon_code_id
Selected coupon code id
$unique_coupon
Allow to generate unique coupon code
$is_wc_template
Use WooCommerce email css
$selected_template_filter
Selected segment

Returns

true
| false $insert_template_successfuly_pro If template inserted successfully

Since

5.0

Globals

mixed $wpdb
mixed $woocommerce
public static true
# wcap_update_email_template( )

It will update created email templates.

It will update created email templates.

Returns

true
| false $update_template_successfuly_pro If template updated successfully

Since

5.0
public static true
# wcap_update_template( integer $unique_coupon, integer $is_wc_template, integer $selected_template_filter, integer $coupon_code_id, string $selected_template_filter,… )

It will update email template data into the database. It will insert the post meta for the email action, it will decide who will recive this email template.

It will update email template data into the database. It will insert the post meta for the email action, it will decide who will recive this email template.

Parameters

$unique_coupon
string $active_post Template active or not
$is_wc_template
$coupon_code_id Selected coupon code id
$selected_template_filter
$unique_coupon Allow to generate unique coupon code
$coupon_code_id
$is_wc_template Use WooCommerce email css
$selected_template_filter,…
Selected segment

Returns

true
| false $update_template_successfuly_pro If template updated successfully

Since

5.0

Globals

mixed $wpdb
mixed $woocommerce
API documentation generated by ApiGen