wc_aelia_eu_vat_assistant_subscription_original_order_vat_info

The WooCommerce EU VAT Assistant wc aelia eu vat assistant subscription original order info hook.

Description

apply_filters( 'wc_aelia_eu_vat_assistant_subscription_original_order_vat_info', (unknown) $original_order_vat_info, (unknown) $original_order, (unknown) $renewal_order ); 

Parameters (3)

0. $original_order_vat_info (unknown)
The original order vat info.
1. $original_order (unknown)
The original order.
2. $renewal_order (unknown)
The renewal order.

Usage

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

Defined (1)

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

/src/plugin-main.php  
  1. $original_order_vat_info = apply_filters('wc_aelia_eu_vat_assistant_subscription_original_order_vat_info', $original_order_vat_info, $original_order, $renewal_order);