Skip to content

Instantly share code, notes, and snippets.

@cklosowski
Last active June 28, 2017 22:30
Show Gist options
  • Save cklosowski/ad335921cf40a6d7e315043e95b1e7d5 to your computer and use it in GitHub Desktop.
Save cklosowski/ad335921cf40a6d7e315043e95b1e7d5 to your computer and use it in GitHub Desktop.
<?php
function eddwp_trigger_after_payment_actions_example( $payment_id = 0, $payment = false, $customer = false ) {
/**
* The $payment variable contains the EDD_Payment object that has been completed.
* The $customer variable contains the EDD_Customer object that the payment belongs to.
*/
}
add_action( 'edd_after_payment_actions', 'eddwp_trigger_after_payment_actions_example', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment