Function edd_add_collection_to_cart
Add Collection to Cart
Adds all downloads within a taxonomy term to the cart.
Package: EDD\Cart
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0.6
Located at includes/cart/functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0.6
Located at includes/cart/functions.php
Parameters summary
string |
$taxonomy |
Name of the taxonomy |
mixed |
$terms |
Slug or ID of the term from which to add ites | An array of terms |
Return value summary
array
|
Array of IDs for each item added to the cart |