called after a product download.

add_action('shopp_download_success', [callback]);

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


Runs after a file is finished transmitting when a product download request is made. See Parameters passed to the ‘[callback]’.


add_action('shopp_download_success', '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.