/** * Email template tag: payment_method * The method of payment used for this donation * * @param int $payment_id * * @return string gateway */ function give_email_tag_payment_method($payment_id) { return give_get_gateway_checkout_label(give_get_payment_gateway($payment_id)); }
/** * Email template tag: payment_method. * * The method of payment used for this donation. * * @param int $payment_id * * @return string gateway */ function give_email_tag_payment_method($payment_id) { $payment = new Give_Payment($payment_id); return give_get_gateway_checkout_label($payment->gateway); }
</td> </tr> <?php } ?> <?php if (filter_var($give_receipt_args['payment_method'], FILTER_VALIDATE_BOOLEAN)) { ?> <tr> <td><strong><?php _e('Payment Method', 'give'); ?> :</strong></td> <td><?php echo give_get_gateway_checkout_label(give_get_payment_gateway($payment->ID)); ?> </td> </tr> <?php } ?> <?php if (filter_var($give_receipt_args['date'], FILTER_VALIDATE_BOOLEAN)) { ?> <tr> <td><strong><?php _e('Date', 'give'); ?> :</strong></td> <td><?php