gform_payment_amount

Description

Allows the payment amount displayed for the entry in the Payment Details section to be modified.

Usage

add_filter( 'gform_payment_amount', 'your_function_name', 10, 3 );

Parameters

Examples

add_filter( 'gform_payment_amount', 'change_payment_amount', 10, 3 );
function change_payment_amount( $payment_amount, $form, $entry ){
	return 'USD ' . $payment_amount;
}

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in GFEntryDetail::meta_box_payment_details() in entry_detail.php.