Last active
June 28, 2017 22:30
-
-
Save cklosowski/ad335921cf40a6d7e315043e95b1e7d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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