Filter Payment Purchase Data


This filter allows you to filter the purchase data before we actually create the purchase payment.

Parameter Type Description
$purchase_data array An array containing all the data that is used to create a purchase.
$payment_status string A string containing the payment status. Default: pending
$send_receipt bool True if a receipt will be sent, false if not. Default: false
$purchase_data = apply_filters( 'wpwh/actions/edd_create_payment/purchase_data', $purchase_data, $payment_status, $send_receipt );
Updated on August 12, 2020

Was this article helpful?

Related Articles