woocommerce_api_product_attribute_terms_response filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_api_product_attribute_terms_response', 'filter_function_name_6719', 10, 4 ); function filter_function_name_6719( $attribute_terms, $terms, $fields, $that ){ // filter... return $attribute_terms; }
- $attribute_terms
- -
- $terms
- -
- $fields
- -
- $that
- -
Where the hook is called
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 ) );