woocommerce_api_edit_tax_data

woocommerce_api_edit_tax_data

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_edit_tax_data') is found 1 times:

  • /includes/legacy/api/v3/class-wc-api-taxes.php line 273
    				throw new WC_API_Exception( $tax->get_error_code(), $tax->get_error_message(), $error_data['status'] );
    			}
    
    			$current_data   = $tax['tax'];
    			$data           = apply_filters( 'woocommerce_api_edit_tax_data', $data, $this );
    			$tax_data       = array();
    			$default_fields = array(
    				'tax_rate_country',
    				'tax_rate_state',
    				'tax_rate',
    				'tax_rate_name',