woocommerce_api_tax_response

woocommerce_api_tax_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_tax_response') is found 1 times:

  • /includes/legacy/api/v3/class-wc-api-taxes.php line 166
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
                    $tax_data[ $locale->location_type ] = $locale->location_code;
                }
            }
     
            return array( 'tax' => apply_filters( 'woocommerce_api_tax_response', $tax_data, $tax, $fields, $this ) );
        } catch ( WC_API_Exception $e ) {
            return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) );
        }
    }
     
    /**