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_Actions
  • Wcap_Actions_Handler

Class Wcap_Actions_Handler

It will delete the record from the database.

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

Methods summary

public
# wcap_delete_bulk_action_handler_function( integer $abandoned_cart_id, integer $count )

This function will delete the Abandoned cart when we perform the Bulk action from the abandoned cart page.

This function will delete the Abandoned cart when we perform the Bulk action from the abandoned cart page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id
$count
string $count The total count of record need to delete

Since

5.0

Globals

mixed $wpdb
public
# wcap_delete_template_bulk_action_handler_function( integer $template_id )

This function will delete the Template when we perform the Bulk action from the template page.

This function will delete the Template when we perform the Bulk action from the template page.

Parameters

$template_id
string $template_id Template id

Since

5.0

Globals

mixed $wpdb
public static
# wcap_delete_abandoned_carts_after_x_days( )

It will delete cart automatically after X days

It will delete cart automatically after X days

Since

5.0

Globals

mixed $wpdb

Hook

admin_init
public static
# delete_ac_carts( object $value, timestamp $cart_update_time )

It will delete the abandoned cart data from database. It will also delete the email history for that abandoned cart. If the user id guest user then it will delete the record from users table.

It will delete the abandoned cart data from database. It will also delete the email history for that abandoned cart. If the user id guest user then it will delete the record from users table.

Parameters

$value
Value of cart.
$cart_update_time
Cart abandoned time

Since

5.0

Globals

mixed $wpdb
public
# wcap_recovered_delete_bulk_action_handler( integer $abandoned_cart_id )

This function will delete the Recovered cart when we perform the Bulk action from the Recovered Orders page.

This function will delete the Recovered cart when we perform the Bulk action from the Recovered Orders page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id

Since

5.0

Globals

mixed $wpdb
public
# wcap_recovered_trash_bulk_action_handler( integer $abandoned_cart_id, integer $count )

This function will move the Recovered cart in Trash when we perform the Bulk action from the Recovered Orders page.

This function will move the Recovered cart in Trash when we perform the Bulk action from the Recovered Orders page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id
$count
string $count The total count of record need to Trash

Since

5.0

Globals

mixed $wpdb
public
# wcap_recovered_restore_bulk_action_handler( integer $abandoned_cart_id, integer $count )

This function will restores the trash Recovered cart when we perform the Bulk action from the Recovered Orders page.

This function will restores the trash Recovered cart when we perform the Bulk action from the Recovered Orders page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id
$count
string $count The total count of record need to Trash

Since

5.0

Globals

mixed $wpdb
public
# wcap_abandoned_trash_bulk_action_handler( integer $abandoned_cart_id, integer $count )

This function will move the Abanodned cart in Trash when we perform the Bulk action from the Recovered Orders page.

This function will move the Abanodned cart in Trash when we perform the Bulk action from the Recovered Orders page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id
$count
string $count The total count of record need to Trash

Since

5.0

Globals

mixed $wpdb
public
# wcap_abandoned_restore_bulk_action_handler( integer $abandoned_cart_id, integer $count )

This function will restores the trash Abandoned cart when we perform the Bulk action from the Abandoned Orders page.

This function will restores the trash Abandoned cart when we perform the Bulk action from the Abandoned Orders page.

Parameters

$abandoned_cart_id
string $abandoned_cart_id Abandoned cart id
$count
string $count The total count of record need to Trash

Since

5.0

Globals

mixed $wpdb
API documentation generated by ApiGen