Class Wcap_Populate_Cart_Of_User
It will decrypt url and redirect the customer to cart or checkpout page. Also it will also handle the email open and unsubscribe data. Also, if the url contain the email address then it will store email in the session
Author: Tyche Softwares
Located at includes/frontend/wcap_populate_cart_of_user.php
Methods summary
public static
string
|
#
wcap_email_track_links( string $template )
It will decrypt url and redirect the customer to cart or checkpout page. |
public static
|
#
wcap_load_guest_persistent_cart( )
It will populate the guest users cart in the WooComerce session. |
public static
string
|
#
wcap_email_track_open_and_unsubscribe( string $args )
It will handle the email open and unsubscribe the user from the cart. |
public static
string
|
#
wcap_if_email_address_exists( string $template )
If the url contain the email address then it will store email in the session. |
public static
string
|
#
wcap_shortcode_redirects( string $template )
Redirects to the long url when the site is accessed using short links |
public static
string
|
#
wcap_sms_redirects( string $template )
Loads user cart and logs in the user (for registered users) after completing all the checks. This function is used for links accessed via SMS |
public static
string
|
#
wcap_decode_validate_link( string $validate_link )
Decodes the validated link sent in recovery mediums |
public static
string
|
|
public static
integer
|
|
public static
|
|
public static
|
#
setup_user_language( integer $user_id )
Sets up cart language in session. Called when WPML is active. |
public static
|