angelleye_paypal_construct_params

Constructor.

Description

apply_filters( 'angelleye_paypal_construct_params', (array) $dataarray ); 

Parameters (1)

0. $dataarray (array)
Config preferences

Usage

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

Defined (1)

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

/classes/lib/angelleye/paypal-php-library/includes/paypal.class.php  
  1. $DataArray = apply_filters( 'angelleye_paypal_construct_params', $DataArray );