WordPress.org

Plugin Directory

Changeset 357005


Ignore:
Timestamp:
03/08/11 00:22:41 (3 years ago)
Author:
JustinSainton
Message:

Added action hooks to the user log page so we can add stuff under each individual purchase status. Useful primarily for the Group Deals plugin to add redemption codes...but anyone can use it :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce/branches/3.8-development/wpsc-theme/functions/wpsc-user_log_functions.php

    r356307 r357005  
    349349    $i = 0; 
    350350    $subtotal = 0; 
     351 
     352        do_action( 'wpsc_pre_purchase_logs' ); 
     353 
    351354    foreach ( (array)$purchase_log as $purchase ) { 
    352355        $status_state = "expand"; 
     
    421424        echo $status_name . "<br /><br />"; 
    422425 
     426                do_action( 'wpsc_user_log_after_order_status', $purchase ); 
     427                 
    423428        //written by allen 
    424429        $usps_id = get_option( 'usps_user_id' ); 
Note: See TracChangeset for help on using the changeset viewer.