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_Send_Manual_Email

This class is used to start Initiate Recovery.

Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Since: 4.2
Located at includes/classes/class_wcap_send_manual_email.php

Methods summary

public static
# wcap_create_and_send_manual_email( )

It will replace the merge tags and send the email to customer(s).

It will replace the merge tags and send the email to customer(s).

public static String
# wcap_get_customers_email( integer $wcap_user_id, String $wcap_user_type )

This function will return the email address of the customer for the cart. As we have given the choice to the admin that he can choose who will receive the email template.

This function will return the email address of the customer for the cart. As we have given the choice to the admin that he can choose who will receive the email template.

Parameters

$wcap_user_id
user ID
$wcap_user_type
User Type

Returns

String
$wcap_email_address Email Address

Since

4.2
public static Int|String
# wcap_get_customers_phone( integer $wcap_user_id, String $wcap_user_type )

This function will return the phone number of the customer for the cart.

This function will return the phone number of the customer for the cart.

Parameters

$wcap_user_id
user ID
$wcap_user_type
User Type

Returns

Int|String
$wcap_customer_phone Phone number

Since

4.2
public static String
# wcap_validate_email_format( String $wcap_email_address )

As we have given the choice to admin, that he can send email template to any one. So we need to check each email address is in correct format or not. If any one of the email address is correct then send the email. We are having the multiple email address in the comma seprated so we need to check validate email format.

As we have given the choice to admin, that he can send email template to any one. So we need to check each email address is in correct format or not. If any one of the email address is correct then send the email. We are having the multiple email address in the comma seprated so we need to check validate email format.

Parameters

$wcap_email_address
Email Address of abandoned cart's user

Returns

String
$validated_value Validate email address

Since

4.2
public static String
# wp_coupon_code( integer $discount_amt, string $get_discount_type, string $get_expiry_date, string $coupon_post_meta )

If the email tempalte will have the merge tag {{coupon.code}} and parent coupon code then our plugin will generate the coupon code. This function is used for getting the functionality of parent coupon code for the unique generated coupon code. Also, it will update coupon details in post_meta table.

If the email tempalte will have the merge tag {{coupon.code}} and parent coupon code then our plugin will generate the coupon code. This function is used for getting the functionality of parent coupon code for the unique generated coupon code. Also, it will update coupon details in post_meta table.

Parameters

$discount_amt
coupon amount for default email template
$get_discount_type
Discount type
$get_expiry_date
Coupon expiry date
$coupon_post_meta
Retrieve post meta field

Returns

String
$final_string Coupon code

Since

4.2
public static array
# wp_random_string( )

It is used for generating random coupon code which will send in the abandoned cart reminder email.

It is used for generating random coupon code which will send in the abandoned cart reminder email.

Returns

array
$temp_array Coupon code

Since

4.2
API documentation generated by ApiGen