Created
August 21, 2015 17:23
-
-
Save SeanTOSCD/cecc139590f1588dc1de to your computer and use it in GitHub Desktop.
EDD Checkout Fields Manager Receipt Values
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 // DO NOT COPY THIS LINE | |
function sd_cfm_receipt_field( $payment ) { | |
?> | |
<tr> | |
<td><strong><?php _e( 'Custom Field', 'edd' ); ?>:</strong></td> | |
<td><?php echo get_post_meta( $payment->ID, 'custom_field', true ); ?></td> | |
</tr> | |
<?php | |
} | |
add_action( 'edd_payment_receipt_after', 'sd_cfm_receipt_field', 10 ,2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment