admin_display_total_price

All the code below here needs commenting and looking at to see if it needs to be altered or disposed of.

Description

admin_display_total_price( (string) $start_timestamp = '', (string) $end_timestamp = '' ); 

Correspondingly, all the code above here has been commented, uses the wpsc prefix, and has been made for or modified to work with the object oriented cart code.

Parameters (2)

0. $start_timestamp — Optional. (string) => ''
The start timestamp.
1. $end_timestamp — Optional. (string) => ''
The end timestamp.

Usage

  1. if ( !function_exists( 'admin_display_total_price' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-includes/processing.functions.php'; 
  3.  
  4. // The start timestamp. 
  5. $start_timestamp = ''; 
  6.  
  7. // The end timestamp. 
  8. $end_timestamp = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = admin_display_total_price($start_timestamp, $end_timestamp); 
  12.  

Defined (1)

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

/wpsc-includes/processing.functions.php