called on product download request.

add_action('shopp_download_request', [callback]);

@param Purchased $Purchased the Purchased object - a record of the purchased product associated with the download. 


Triggered when a download request is initiated (a product download link is clicked or accessed). See Parameters passed to the ‘[callback]’.


add_action('shopp_download_request', 'my_function');
function my_function ( $Purchased ) {
// do stuff

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.