edd_ajax_get_subtotal

Gets the cart's subtotal via AJAX.

Description

edd_ajax_get_subtotal(); 

Usage

  1. if ( !function_exists( 'edd_ajax_get_subtotal' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'easy-digital-downloads/includes/ajax-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = edd_ajax_get_subtotal(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/ajax-functions.php  
  1. function edd_ajax_get_subtotal() { 
  2. edd_die();