angelleye_pc_3d_secure_authentication

The PayPal for WooCommerce angelleye pc 3d secure authentication hook.

Description

apply_filters( 'angelleye_pc_3d_secure_authentication', (unknown) $var ); 

Parameters (1)

0. $var (unknown) => __('3D Secure error: %s', 'woocommerce-gateway-paypal-pro')
The var.

Usage

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

Defined (1)

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

/classes/wc-gateway-paypal-pro-angelleye.php  
  1. $order->update_status('failed', sprintf(apply_filters('angelleye_pc_3d_secure_authentication', __('3D Secure error: %s', 'woocommerce-gateway-paypal-pro')), $this->get_centinel_value("ErrorDesc")));