Description
The “gform_enable_entry_info_payment_details” action enables the payment details panel for the current entry.
Removed: This hook was removed in version 2.0 with no replacement. The payment/subscription details panel is now displayed automatically if the entry payment status is set.
Usage
add_action( 'gform_enable_entry_info_payment_details', 'my_function', 10, 2 );
Parameters
Examples
function my_function($is_enabled, $entry) { if( ! empty( $entry['payment_status'] ) ) { // Do something } return true; } add_action( 'gform_enable_entry_info_payment_details', 'my_function', 10, 2 );
Source Code
This action hook is located in entry_detail.php