gform_payment_transaction_id

Description

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

Usage

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

Parameters

Examples

add_filter( 'gform_payment_transaction_id', 'change_transaction_id', 10, 3 );
function change_transaction_id( $transaction_id, $form, $entry ){
	$transaction_id= 5;
	return $transaction_id;
}

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.