woocommerce_api_product_attribute_terms_response filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_product_attribute_terms_response', 'wp_kama_woocommerce_api_product_attribute_terms_response_filter', 10, 4 );

/**
 * Function for `woocommerce_api_product_attribute_terms_response` filter-hook.
 * 
 * @param  $attribute_terms 
 * @param  $terms           
 * @param  $fields          
 * @param  $that            
 *
 * @return 
 */
function wp_kama_woocommerce_api_product_attribute_terms_response_filter( $attribute_terms, $terms, $fields, $that ){

	// filter...
	return $attribute_terms;
}
$attribute_terms
-
$terms
-
$fields
-
$that
-

Where the hook is called

WC_API_Products::get_product_attribute_terms()
woocommerce_api_product_attribute_terms_response
woocommerce/includes/legacy/api/v3/class-wc-api-products.php 2774
return array( 'product_attribute_terms' => apply_filters( 'woocommerce_api_product_attribute_terms_response', $attribute_terms, $terms, $fields, $this ) );

Where the hook is used in WooCommerce

Usage not found.