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


Top ↑

Return Return

(array) Array of IDs for each item added to the cart


Top ↑

Source Source

File: includes/cart/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.