woocommerce_rest_reports_variations_extended_attributes filter-hookWC 1.0

Usage

add_filter( 'woocommerce_rest_reports_variations_extended_attributes', 'wp_kama_woocommerce_rest_reports_variations_extended_attributes_filter', 10, 2 );

/**
 * Function for `woocommerce_rest_reports_variations_extended_attributes` filter-hook.
 * 
 * @param  $extended_attributes 
 * @param  $product_data        
 *
 * @return 
 */
function wp_kama_woocommerce_rest_reports_variations_extended_attributes_filter( $extended_attributes, $product_data ){

	// filter...
	return $extended_attributes;
}
$extended_attributes
-
$product_data
-

Where the hook is called

DataStore::include_extended_info()
woocommerce/src/Admin/API/Reports/Variations/DataStore.php 239
$extended_attributes = apply_filters( 'woocommerce_rest_reports_variations_extended_attributes', $this->extended_attributes, $product_data );

Where the hook is used in WooCommerce

Usage not found.