_wpsc_action_update_purchase_log_status

The WP eCommerce wpsc action update purchase log status function.

Description

_wpsc_action_update_purchase_log_status( $id, $status, $old_status, $purchase_log ); 

Parameters (4)

0. $id
The id.
1. $status
The status.
2. $old_status
The old status.
3. $purchase_log
The purchase log.

Usage

  1. if ( !function_exists( '_wpsc_action_update_purchase_log_status' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-includes/purchase-log.helpers.php'; 
  3.  
  4. // The id. 
  5. $id = null; 
  6.  
  7. // The status. 
  8. $status = null; 
  9.  
  10. // The old status. 
  11. $old_status = null; 
  12.  
  13. // The purchase log. 
  14. $purchase_log = null; 
  15.  
  16. // NOTICE! Understand what this does before running. 
  17. $result = _wpsc_action_update_purchase_log_status($id, $status, $old_status, $purchase_log); 
  18.  

Defined (1)

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

/wpsc-includes/purchase-log.helpers.php