gfp_stripe_entry_detail_transaction_id

The Gravity Forms + Stripe gfp stripe entry detail transaction id hook.

Description

apply_filters( 'gfp_stripe_entry_detail_transaction_id', (unknown) $entry_transaction_id, (unknown) $form, (unknown) $entry ); 

Parameters (3)

0. $entry_transaction_id (unknown)
The entry transaction id.
1. $form (unknown)
The form.
2. $entry (unknown)
The entry.

Usage

To run the hook, copy the example below.
  1. $entry_transaction_id = apply_filters( 'gfp_stripe_entry_detail_transaction_id', $entry_transaction_id, $form, $entry ); 
  2.  
  3. if ( !empty( $entry_transaction_id ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gfp_stripe_entry_detail_transaction_id callback 
  2. function filter_gfp_stripe_entry_detail_transaction_id( $entry_transaction_id, $form, $entry ) { 
  3. // make filter magic happen here... 
  4. return $entry_transaction_id
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfp_stripe_entry_detail_transaction_id', 'filter_gfp_stripe_entry_detail_transaction_id', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfp_stripe_entry_detail_transaction_id', 'filter_gfp_stripe_entry_detail_transaction_id', 10, 3 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/views/entry-detail-stripe-payment-details.php  
  1. _e( 'Transaction ID', 'gravity-forms-stripe' ); ?>: <?php echo apply_filters( 'gfp_stripe_entry_detail_transaction_id', $entry['transaction_id'], $form, $entry ) ?>