edd_add_collection_to_cart( string $taxonomy, mixed $terms )
Add Collection to Cart
Description Description
Adds all downloads within a taxonomy term to the cart.
Parameters Parameters
- $taxonomy
-
(Required) Name of the taxonomy
- $terms
-
(Required) Slug or ID of the term from which to add ites | An array of terms
Return Return
(array) Array of IDs for each item added to the cart
Source Source
File: includes/cart/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0.6 | Introduced. |