woocommerce_tax_rate_deleted

woocommerce_tax_rate_deleted

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_tax_rate_deleted') is found 1 times:

  • /includes/class-wc-tax.php line 1129
    		$wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_tax_rates WHERE tax_rate_id = %d;", $tax_rate_id ) );
    
    		WC_Cache_Helper::invalidate_cache_group( 'taxes' );
    
    		do_action( 'woocommerce_tax_rate_deleted', $tax_rate_id );
    	}
    
    	/**
    	 * Update postcodes for a tax rate in the DB.
    	 *
    	 * Internal use only.
    

See this hook used in plugins: