Duplicate Snippet
Embed Snippet on Your Site
Template: After Order Actions
This is a template that can be used to hook into the `edd_after_order_actions` hook, allowing developers to run non-critical tasks and API calls when an order has been marked as 'complete'.
This hook runs for any order that enter a 'completed' status, which include renewals from the Recurring Payments extension. If you only want to include new orders, and not renewals, you will need to check the order status before completing your action.
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments