<?php
/*
* Process non-critical tasks after an order has been completed.
*
* This runs ~30 seconds after a purchase is completed via WP_Cron.
* @param int $order_id The Order ID that was marked as completed.
* @param \EDD\Orders\Order The Order object that was completed.
* @param EDD_Customer The EDD customer object.
* @return void
*/
function eddwp_custom_after_order_actions( $order_id, $order, $customer ) {
// Perform your custom actions here.
}
add_action( 'edd_after_order_actions', 'eddwp_custom_after_order_actions', 10, 3 );