Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function order_finished($order_id = null, $pmethod = null, $paid = null) {
- //an order was finished, now we can do something with it
- if ($order = wpco_get_order($order_id)) {
- //we now have all the data of the order to work with
- //print_r($order);
- }
- }
- add_action('wpco_order_finished', 'order_finished', 10, 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement