angelleye_ec_form_fields

'Locale' => array( 'title' => __( 'Locale', 'paypal-for-woocommerce' ), 'type' => 'select', 'description' => __( 'Locale of pages displayed by PayPal during Express Checkout.

Description

apply_filters( 'angelleye_ec_form_fields', (unknown) $this_form_fields ); 

It is one of the following values supported by PayPal', paypal-for-woocommerce ), 'options' => array( "AU"=>"Australia", "AT"=>"Austria", "BE"=>"Belgium", "BR"=>"Brazil", "CA"=>"Canada", "CH"=>"Switzerland", "CN"=>"China", "DE"=>"Germany", "ES"=>"Spain", "GB"=>"United Kingdom", "FR"=>"France", "IT"=>"Italy", "NL"=>"Netherlands", "PL"=>"Poland", "PT"=>"Portugal", "RU"=>"Russia", "US"=>"United States"), 'default' => US,, )

Parameters (1)

0. $this_form_fields (unknown)
The this form fields.

Usage

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

Defined (1)

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

/classes/wc-gateway-paypal-express-angelleye.php  
  1. $this->form_fields = apply_filters('angelleye_ec_form_fields', $this->form_fields);