add_product_download

called after digital product file upload in product editor.

add_action('add_product_download', [callback] );

@param array $_FILES the php file upload data structure.

Description

Fired when a digital product file is uploaded to a product. See Parameters passed to the [callback].

Example

add_action('add_product_download', 'my_function');
function my_function ( $FileData ) {
// 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