wc_aelia_euva_report_order_statuses_to_include

The WooCommerce EU VAT Assistant wc aelia euva report order statuses to include hook.

Description

apply_filters( 'wc_aelia_euva_report_order_statuses_to_include', (unknown) $order_statuses_to_include, (unknown) $apply_prefix, (unknown) $instance ); 

Parameters (3)

0. $order_statuses_to_include (unknown)
The order statuses to include.
1. $apply_prefix (unknown)
The apply prefix.
2. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $order_statuses_to_include = apply_filters( 'wc_aelia_euva_report_order_statuses_to_include', $order_statuses_to_include, $apply_prefix, $instance ); 
  2.  
  3. if ( !empty( $order_statuses_to_include ) ) { 
  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_euva_report_order_statuses_to_include callback 
  2. function filter_wc_aelia_euva_report_order_statuses_to_include( $order_statuses_to_include, $apply_prefix, $instance ) { 
  3. // make filter magic happen here... 
  4. return $order_statuses_to_include
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'wc_aelia_euva_report_order_statuses_to_include', 'filter_wc_aelia_euva_report_order_statuses_to_include', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'wc_aelia_euva_report_order_statuses_to_include', 'filter_wc_aelia_euva_report_order_statuses_to_include', 10, 3 ); 

Defined (1)

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

/src/lib/classes/reporting/reports/base/base_report.php  
  1. return apply_filters('wc_aelia_euva_report_order_statuses_to_include', $order_statuses_to_include, $apply_prefix, $this);