WooCommerce - Is out of stock category Overview This function checks if all products belonging to a product category or custom taxonomy is out of stock. This function uses Transients API to cache 1 hour the result for avoiding large amount of querys. Usage