woocommerce_rest_reports_variations_extended_attributes filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_rest_reports_variations_extended_attributes', 'filter_function_name_9429', 10, 2 ); function filter_function_name_9429( $extended_attributes, $product_data ){ // filter... return $extended_attributes; }
- $extended_attributes
- -
- $product_data
- -
Where the hook is called
woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php 206
$extended_attributes = apply_filters( 'woocommerce_rest_reports_variations_extended_attributes', $this->extended_attributes, $product_data );