gfp_stripe_entry_detail_payment_status

The Gravity Forms + Stripe gfp stripe entry detail payment status hook.

Description

apply_filters( 'gfp_stripe_entry_detail_payment_status', (unknown) $entry_payment_status, (unknown) $form, (unknown) $entry ); 

Parameters (3)

0. $entry_payment_status (unknown)
The entry payment status.
1. $form (unknown)
The form.
2. $entry (unknown)
The entry.

Usage

To run the hook, copy the example below.
  1. $entry_payment_status = apply_filters( 'gfp_stripe_entry_detail_payment_status', $entry_payment_status, $form, $entry ); 
  2.  
  3. if ( !empty( $entry_payment_status ) ) { 
  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_payment_status callback 
  2. function filter_gfp_stripe_entry_detail_payment_status( $entry_payment_status, $form, $entry ) { 
  3. // make filter magic happen here... 
  4. return $entry_payment_status
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfp_stripe_entry_detail_payment_status', 'filter_gfp_stripe_entry_detail_payment_status', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfp_stripe_entry_detail_payment_status', 'filter_gfp_stripe_entry_detail_payment_status', 10, 3 ); 

Defined (1)

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

/includes/views/entry-detail-stripe-payment-details.php  
  1. id="gfp_stripe_payment_status"><?php echo apply_filters( 'gfp_stripe_entry_detail_payment_status', $entry['payment_status'], $form, $entry ) ?></span>