angelleye_fc_connect_error

The PayPal for WooCommerce angelleye fc connect error hook.

Description

apply_filters( 'angelleye_fc_connect_error', (unknown) $e_getmessage, (unknown) $e ); 

Parameters (2)

0. $e_getmessage (unknown)
The getmessage.
1. $e (unknown)
The e.

Usage

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

Defined (1)

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

/classes/wc-gateway-paypal-pro-payflow-angelleye.php  
  1. $fc_connect_error = apply_filters( 'angelleye_fc_connect_error', $e->getMessage() , $e );