angelleye_wc_eu_vat_number

The WordPress Core angelleye wc eu vat number hook.

Description

add_action( 'angelleye_wc_eu_vat_number', (callback) $array, (int) $int ); 

Parameters (2)

0. $array (callback) => array('WC_EU_VAT_Number', 'process_checkout')
The array.
1. $int (int) => 10
The int.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'angelleye_wc_eu_vat_number', $array, $int ); 
The following example is for adding a hook callback.
  1. // define the angelleye_wc_eu_vat_number callback 
  2. function action_angelleye_wc_eu_vat_number( $array, $int ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'angelleye_wc_eu_vat_number', 'action_angelleye_wc_eu_vat_number', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'angelleye_wc_eu_vat_number', 'action_angelleye_wc_eu_vat_number', 10, 2 ); 

Defined (2)

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

/classes/wc-gateway-paypal-express-angelleye.php  
  1. add_action( 'angelleye_wc_eu_vat_number', array('WC_EU_VAT_Number', 'process_checkout'), 10); 
  1. do_action( 'angelleye_wc_eu_vat_number', $order_id, $call_third_party = true );