shopp_download_request

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. 

Description

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

Example

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.

Skip to toolbar