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_Dashboard_Widget_Heartbeat

EDD_Heartbeart Class.

Hooks into the WP heartbeat API to update various parts of the dashboard as new sales are made. Dashboard components that are effect on Dashboard Summary Widget.

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

Methods summary

public static
# wcap_init( )

Get things started

Get things started

Since

2.8
public static array
# wcap_heartbeat( array $response, array $data )

Tie into the heartbeat and append our stats

Tie into the heartbeat and append our stats

Parameters

$response
The Heartbeat response.
$data
The $_POST data sent.

Returns

array
$response

Since

2.8

Hook

heartbeat_received
public static
# wcap_enqueue_scripts( )

Load the heartbeat scripts.

Load the heartbeat scripts.

Since

2.8

Hook

admin_enqueue_scripts
public static
# wcap_footer_js( )

Inject our Java Script into the admin footer.

Inject our Java Script into the admin footer.

Since

2.8

Globals

mixed $pagenow

Hook

admin_print_footer_scripts
API documentation generated by ApiGen